bind9/bin/tests/system/forward
Michał Kępień 33350626f9 Track forwarder timeouts in fetch contexts
Since following a delegation resets most fetch context state, address
marks (FCTX_ADDRINFO_MARK) set inside lib/dns/resolver.c are not
preserved when a delegation is followed.  This is fine for full
recursive resolution but when named is configured with "forward first;"
and one of the specified forwarders times out, triggering a fallback to
full recursive resolution, that forwarder should no longer be consulted
at each delegation point subsequently reached within a given fetch
context.

Add a new badnstype_t enum value, badns_forwarder, and use it to mark a
forwarder as bad when it times out in a "forward first;" configuration.
Since the bad server list is not cleaned when a fetch context follows a
delegation, this prevents a forwarder from being queried again after
falling back to full recursive resolution.  Yet, as each fetch context
maintains its own list of bad servers, this change does not cause a
forwarder timeout to prevent that forwarder from being used by other
fetch contexts.
2019-01-08 08:29:54 +01:00
..
ans6 Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
ns1 Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
ns2 Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
ns3 Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
ns4 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
ns5 update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
clean.sh update system tests so validation won't fail when using IANA key 2018-05-31 18:22:33 +02:00
rfc1918-inherited.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
rfc1918-notinherited.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
setup.sh Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
tests.sh Track forwarder timeouts in fetch contexts 2019-01-08 08:29:54 +01:00
ula-inherited.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
ula-notinherited.conf Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00