]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Emit "no servers could be reached" for TCP as well as UDP
authorMark Andrews <marka@isc.org>
Sat, 28 Oct 2023 04:40:22 +0000 (15:40 +1100)
committerMark Andrews <marka@isc.org>
Mon, 20 Nov 2023 01:23:27 +0000 (12:23 +1100)
When all the servers are exhausted for TCP emit "no servers could
be reached" in tcp_connected.  This message is already emitted for
UDP.

bin/dig/dighost.c

index 41d02365e92b5467ced42604432308d1be2fbeba..f364147e748da1252b3ea6d41aa00104bcfad5c7 100644 (file)
@@ -3602,6 +3602,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();
                }