]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Emit "no servers could be reached" also for UDP setup failure
authorAram Sargsyan <aram@isc.org>
Thu, 16 Nov 2023 13:30:32 +0000 (13:30 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 4 Dec 2023 10:38:16 +0000 (10:38 +0000)
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

index f364147e748da1252b3ea6d41aa00104bcfad5c7..0dd7b3a8258ece9b165b3f7be856dab26440b301 100644 (file)
@@ -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();
                }