bind9/bin/tests/system/dispatch
Ondřej Surý 59c00a6f31
Force TCP after repeated UDP timeouts to the same authoritative
Make the decision in fctx_query() before the dispatch is bound so the
chosen transport and the DNS_FETCHOPT_TCP flag agree.  The previous
location in resquery_send() ran after the UDP dispatch had already been
attached, so the flag flip had no effect on the wire.

Moving the decision earlier also means FCTX_ADDRINFO_NOEDNS0 servers,
previously exempt, now escalate to TCP too.  TCP works regardless of
EDNS state, so this is the intended behaviour.

Assisted-by: Claude:claude-opus-4-7
2026-05-19 11:18:30 +02:00
..
ans3 Replace deprecated typing imports 2026-02-20 15:17:32 +01:00
ans4 Force TCP after repeated UDP timeouts to the same authoritative 2026-05-19 11:18:30 +02:00
ns1 Temporarily remove TCP fallback after UDP timeouts 2026-05-19 11:18:16 +02:00
ns2 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
tests_connreset.py Automatically sort imports in Python code 2026-02-20 15:17:32 +01:00
tests_tcponly.py Force TCP after repeated UDP timeouts to the same authoritative 2026-05-19 11:18:30 +02:00