]> 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)
committerAram Sargsyan <aram@isc.org>
Mon, 4 Dec 2023 10:39:46 +0000 (10:39 +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.

(cherry picked from commit 4d529ee12ab02ddb40a4ce2d3422a6e4caee7a19)

bin/dig/dighost.c

index 7a6b8ab33f000f683fcbba330c75d34d5a8a8321..a8ae79fc28a8a8ae62d6fb2f2de9049d9f523877 100644 (file)
@@ -3249,6 +3249,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();
                }