]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/in-addr-util.h
resolved: never cache RRs originating from localhost
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:41:32 +0000 (00:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:46:51 +0000 (00:46 +0100)
commitd830ebbdf67d8cb32d33d8fdd47cf467fd6d3815
tree97152e692c31f5c578354736a3e0c8d514d25a81
parent452b4e327d23b9e468d3198f4c91e8efd0b52a71
resolved: never cache RRs originating from localhost

After all, this is likely a local DNS forwarder that caches anyway,
hence there's no point in caching twice.

Fixes #2038.
src/basic/in-addr-util.c
src/basic/in-addr-util.h
src/resolve/resolved-dns-packet.h
src/resolve/resolved-dns-transaction.c