bind9/bin
Michal Nowak 6d5249c50c
Do not retry in resolution_fails() on timeout
At the time of test number (19), there were 10 "sending packet to
10.53.0.7" lines in the "legacy/ns1/named.run" file; usually, only seven
are present:

    I:legacy:checking recursive lookup to edns 512 + no tcp server does not cause query loops (19)
    I:legacy:ns1 sent 10 queries to ns7, expected less than 10
    I:legacy:failed

Those three can be attributed to tests "8", "10", and "18", where the
dig of "resolution_fails()" retried after a timeout to succeed with
"status: SERVFAIL" subsequently, as seen in each of
dig.out.test{8,10,18} files.

    ;; communications error to 10.53.0.1#13093: timed out

    ; <<>> DiG 9.19.12-dev <<>> -p 13093 +tcp @10.53.0.1 edns512-notcp. TXT
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5368
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

This retry is unnecessary because "resolution_fails()" considers timeout
a positive result.

(cherry picked from commit e05460c813)
2023-04-06 11:46:57 +02:00
..
check Extend dns_db_allrdatasets to control interation results 2022-12-08 11:20:35 +11:00
confgen Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
delv Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
dig Don't use reference counting in isc_timer unit 2023-01-19 11:28:10 +01:00
dnssec Extend dns_db_allrdatasets to control interation results 2022-12-08 11:20:35 +11:00
named rewrite logfileconfig system test 2023-03-28 10:03:33 +00:00
nsupdate Handle address lookup failure more gracefully 2023-02-01 00:41:09 +11:00
pkcs11 Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
plugins Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
python Adapt to Python scripts to black 23.1.0 2023-02-17 16:55:47 +01:00
rndc Make rndc dnstap -roll docs easier to read 2023-04-05 16:10:20 +02:00
tests Do not retry in resolution_fails() on timeout 2023-04-06 11:46:57 +02:00
tools Update sources to Clang 15 formatting 2022-11-29 10:30:34 +01:00
win32/BINDInstall Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00
Makefile.in Update the copyright information in all files in the repository 2022-01-11 12:22:09 +01:00