From 4d529ee12ab02ddb40a4ce2d3422a6e4caee7a19 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Thu, 16 Nov 2023 13:30:32 +0000 Subject: [PATCH] Emit "no servers could be reached" also for UDP setup failure When all the servers are exhausted for UDP setup emit "no servers could be reached" in udp_ready(). This message can also be emitted for a recv_done() error and for TCP connection failure similarly. --- bin/dig/dighost.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index f364147e74..0dd7b3a825 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -3205,6 +3205,7 @@ udp_ready(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) { start_udp(next); check_if_done(); } else { + dighost_error("no servers could be reached\n"); clear_current_lookup(); }