From 831efa40d616d56fc86c3eb55a8e8fe953ab9409 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 28 Oct 2023 15:40:22 +1100 Subject: [PATCH 1/2] Emit "no servers could be reached" for TCP as well as UDP When all the servers are exhausted for TCP emit "no servers could be reached" in tcp_connected. This message is already emitted for UDP. --- bin/dig/dighost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 41d02365e9..f364147e74 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -3602,6 +3602,7 @@ tcp_connected(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) { start_tcp(next); check_if_done(); } else { + dighost_error("no servers could be reached\n"); clear_current_lookup(); } From f813795c6ff7625698a7b5768fb228eb1a271a7d Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 15 Nov 2023 15:46:51 +1100 Subject: [PATCH 2/2] Add CHANGES for [GL #4396] --- CHANGES | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index 9c49510cf7..38316bc6cc 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +6286. [bug] Dig +yaml will now report "no servers could be reached" + on TCP connection failure as well as for UDP timeouts. + [GL #4396] + 6285. [func] Remove AES-based DNS cookies. [GL #4421] 6284. [bug] Fix a catz db update notification callback registration