]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update resquery_senddone handling of ISC_R_TIMEDOUT
authorMark Andrews <marka@isc.org>
Mon, 27 May 2024 05:17:06 +0000 (15:17 +1000)
committerMark Andrews <marka@isc.org>
Tue, 4 Jun 2024 07:38:40 +0000 (07:38 +0000)
Treat timed out as an address specific error.

(cherry picked from commit 56c3dcc5d779d0365b385cf393317cae18526949)

lib/dns/resolver.c

index 1381c2dcbf11fbbb86ee009d4df3271b696314d9..3d4d194c31d2b21638550ed00462107dd873198e 100644 (file)
@@ -1928,6 +1928,7 @@ resquery_senddone(isc_result_t eresult, isc_region_t *region, void *arg) {
        case ISC_R_ADDRNOTAVAIL:
        case ISC_R_CONNREFUSED:
        case ISC_R_CONNECTIONRESET:
+       case ISC_R_TIMEDOUT:
                /* No route to remote. */
                FCTXTRACE3("query canceled in resquery_senddone(): "
                           "no route to host; no response",