From 734061ac1b58d5949bbd51208873804dfc4f4517 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 28 Oct 2023 15:40:22 +1100 Subject: [PATCH] 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(); }