]> 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 02:40:19 +0000 (13:40 +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.

(cherry picked from commit 831efa40d616d56fc86c3eb55a8e8fe953ab9409)

bin/dig/dighost.c

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