]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update resquery_senddone handling of ISC_R_CONNECTIONRESET
authorMark Andrews <marka@isc.org>
Mon, 27 May 2024 02:46:46 +0000 (12:46 +1000)
committerMark Andrews <marka@isc.org>
Tue, 4 Jun 2024 07:38:40 +0000 (07:38 +0000)
Treat connection reset as an address specific error.

(cherry picked from commit 4e3dd85b8ddcb3ec7c9e7031ff844a3c4a987c53)

lib/dns/resolver.c

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