1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/resolve
Tom Gundersen 5eefe544ef resolved: cache - cache what we can of negative redirect chains
When a NXDATA or a NODATA response is received for an alias it may
include CNAME records from the redirect chain. We should cache the
response for each of these names to avoid needless roundtrips in
the future.

It is not sufficient to do the negative caching only for the
canonical name, as the included redirection chain is not guaranteed
to be complete. In fact, only the final CNAME record from the chain
is guaranteed to be included.

We take care not to cache entries that redirects outside the current
zone, as the SOA will then not be valid.
2015-09-16 17:03:18 +02:00
..
.gitignore resolve: add more record types and convert to gperf table 2014-08-03 22:02:32 -04:00
dns-type.c treewide: fix typos 2015-07-29 12:29:46 +02:00
dns-type.h resolved: rr - ignore pseudo types in NSEC(3) bitmaps 2015-07-23 18:06:50 +02:00
Makefile resolved: add daemon to manage resolv.conf 2014-05-19 18:14:56 +02:00
org.freedesktop.resolve1.conf resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
org.freedesktop.resolve1.service resolved: add legacy dbus service and policy files 2014-07-16 03:41:39 +02:00
resolved-bus.c resolved: cache - handle CNAME redirection 2015-09-16 17:03:17 +02:00
resolved-bus.h resolved: rename resolved.h to resolved-manager.h 2014-08-01 16:14:59 +02:00
resolved-conf.c resolve: remove unused variable 2014-11-30 02:04:50 +01:00
resolved-conf.h resolved: rename resolved.h to resolved-manager.h 2014-08-01 16:14:59 +02:00
resolved-def.h resolved: allow passing on which protocol, family and interface to look something up 2014-08-14 01:01:43 +02:00
resolved-dns-answer.c resolved: cache - cache what we can of negative redirect chains 2015-09-16 17:03:18 +02:00
resolved-dns-answer.h resolved: cache - cache what we can of negative redirect chains 2015-09-16 17:03:18 +02:00
resolved-dns-cache.c resolved: cache - cache what we can of negative redirect chains 2015-09-16 17:03:18 +02:00
resolved-dns-cache.h resolved: cache - only allow putting a single question key at a time 2015-09-16 17:03:17 +02:00
resolved-dns-packet.c resolved: make packet flags logic more expressive again 2015-08-25 18:54:55 +02:00
resolved-dns-packet.h treewide: fix typos 2015-09-08 12:55:50 +02:00
resolved-dns-query.c resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-query.h resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-question.c resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-question.h resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-rr.c resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-rr.h resolved: rr - introduce dns_resource_key_new_redirect() 2015-09-16 17:03:17 +02:00
resolved-dns-scope.c resolved: dump cache and zone contents to syslog on SIGUSR1 2015-08-26 09:41:45 +02:00
resolved-dns-scope.h resolved: dump cache and zone contents to syslog on SIGUSR1 2015-08-26 09:41:45 +02:00
resolved-dns-server.c resolved: transaction - exponentially increase retry timeouts 2015-08-03 14:06:58 +02:00
resolved-dns-server.h resolved: transaction - exponentially increase retry timeouts 2015-08-03 14:06:58 +02:00
resolved-dns-stream.c util: introduce CMSG_FOREACH() macro and make use of it everywhere 2015-06-10 19:29:47 +02:00
resolved-dns-stream.h remove unused includes 2015-02-23 23:53:42 +01:00
resolved-dns-transaction.c resolved: cache - only allow putting a single question key at a time 2015-09-16 17:03:17 +02:00
resolved-dns-transaction.h resolved: rename DNS UDP socket to 'dns_udp_fd' 2015-08-25 18:51:23 +02:00
resolved-dns-zone.c tree-wide: take benefit of the fact that hashmap_free() returns NULL 2015-09-09 23:12:07 +02:00
resolved-dns-zone.h resolved: dump cache and zone contents to syslog on SIGUSR1 2015-08-26 09:41:45 +02:00
resolved-gperf.gperf resolved: beef up DNS server configuration logic 2014-08-01 16:06:39 +02:00
resolved-link.c tree-wide: make use of the fact that strv_free() returns NULL 2015-09-09 23:05:58 +02:00
resolved-link.h sd-netlink: rename from sd-rtnl 2015-06-13 19:52:54 +02:00
resolved-llmnr.c resolved: use a #define for LLMNR port 2015-07-13 11:28:29 -04:00
resolved-llmnr.h resolved: use a #define for LLMNR port 2015-07-13 11:28:29 -04:00
resolved-manager.c tree-wide: make use of log_error_errno() return value 2015-09-09 08:20:20 +02:00
resolved-manager.h resolved: dump cache and zone contents to syslog on SIGUSR1 2015-08-26 09:41:45 +02:00
resolved.c resolved: dump cache and zone contents to syslog on SIGUSR1 2015-08-26 09:41:45 +02:00
resolved.conf.in Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00