From: Aram Sargsyan Date: Thu, 16 Nov 2023 13:30:32 +0000 (+0000) Subject: Emit "no servers could be reached" also for UDP setup failure X-Git-Tag: v9.19.19~19^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d529ee12ab02ddb40a4ce2d3422a6e4caee7a19;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index f364147e748..0dd7b3a8258 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(); }