From 2269a3e6fbcc5708c15aedd396df2a77a60f58bc Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 5 Apr 2023 14:05:46 -0700 Subject: [PATCH] check for invalid protocol when dispatch fails treat ISC_R_INVALIDPROTO as a networking error when it occurs. --- lib/dns/resolver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index e472c6e78e..2564f09de0 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -7791,6 +7791,7 @@ rctx_dispfail(respctx_t *rctx) { case ISC_R_NETUNREACH: case ISC_R_CONNREFUSED: case ISC_R_CONNECTIONRESET: + case ISC_R_INVALIDPROTO: case ISC_R_CANCELED: case ISC_R_SHUTTINGDOWN: rctx->broken_server = rctx->result;