resolved: shortcut lookups names in the local zone
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Nov 2015 14:33:37 +0000 (15:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Nov 2015 16:07:11 +0000 (17:07 +0100)
commitd746bb3eb25b73b5e8eef2295610284b3051d7b5
tree13863c726961ec2f8611daa92b1b88a1b1036a86
parent5032b16dfe395112d72798581664992429f90d17
resolved: shortcut lookups names in the local zone

Previously, we'd always generate a packet on the wire, even for names
that are within our local zone. Shortcut this, and always check the
local zone first. This should minimize generated traffic and improve
security.
src/resolve/resolved-dns-transaction.c