From 734061ac1b58d5949bbd51208873804dfc4f4517 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. (cherry picked from commit 831efa40d616d56fc86c3eb55a8e8fe953ab9409) --- bin/dig/dighost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 55f7bf2385..7a6b8ab33f 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -3654,6 +3654,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 ad9c39ebadc2a36a9d1b07af41cd4935fd8918ab 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] (cherry picked from commit f813795c6ff7625698a7b5768fb228eb1a271a7d) --- CHANGES | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index fa75e5ecd8..993d4b7241 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] + --- 9.18.20 released --- 6280. [bug] Fix missing newlines in the output of "rndc nta -dump".