bind9/bin
Aram Sargsyan 29057d9911 DiG: use the same retry and fail-over logic for different failure types
DiG implements different logic in the `recv_done()` callback function
when processing a failure:

1. For a timed-out query it applies the "retries" logic first, then,
   when it fails, fail-overs to the next server.

2. For an EOF (end-of-file, or unexpected disconnect) error it tries to
   make a single retry attempt (even if the user has requested more
   retries), then, when it fails, fail-overs to the next server.

3. For other types of failures, DiG does not apply the "retries" logic,
   and tries to fail-over to the next servers (again, even if the user
   has requested to make retries).

Simplify the logic and apply the same logic (1) of first retries, and
then fail-over, for different types of failures in `recv_done()`.

(cherry picked from commit abfd0d363f4f495de00dc4bd41f74726370369ba)
2022-07-22 09:00:21 +00:00
..
check Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
confgen Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:42:18 +01:00
delv Add hyperlinks to dig/mdig/delv +options 2022-04-26 14:06:33 +02:00
dig DiG: use the same retry and fail-over logic for different failure types 2022-07-22 09:00:21 +00:00
dnssec Update NSEC3 guidance to match draft-ietf-dnsop-nsec3-guidance-10 2022-06-15 17:57:40 +02:00
named Increase the BUFSIZ-long buffers 2022-07-15 21:16:51 +02:00
nsupdate Rename yes_or_no to boolean 2022-07-04 16:09:24 +02:00
plugins Hyperlink program names to their manual pages 2022-03-14 11:01:31 +01:00
rndc Rename key_id to server_key 2022-07-04 16:09:23 +02:00
tests DiG: use the same retry and fail-over logic for different failure types 2022-07-22 09:00:21 +00:00
tools Add hyperlinks to dig/mdig/delv +options 2022-04-26 14:06:33 +02:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00