From 2691e729f0a4ffee8eedd458b85d68967c252776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Witold=20Kr=C4=99cicki?= Date: Fri, 24 May 2019 14:03:16 +0200 Subject: [PATCH] Don't SERVFAIL on lame delegations when doing minimization in relaxed mode. qname minimization in relaxed mode should fall back to regular resolution in case of failure. --- lib/dns/resolver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/resolver.c b/lib/dns/resolver.c index b2bc2516d6..0c55f741f3 100644 --- a/lib/dns/resolver.c +++ b/lib/dns/resolver.c @@ -4158,7 +4158,7 @@ resume_qmin(isc_task_t *task, isc_event_t *event) { } if (NXDOMAIN_RESULT(result) || result == DNS_R_FORMERR || - result == DNS_R_REMOTEFORMERR) + result == DNS_R_REMOTEFORMERR || result == ISC_R_FAILURE) { if ((fctx->options & DNS_FETCHOPT_QMIN_STRICT) == 0) { fctx->qmin_labels = DNS_MAX_LABELS + 1;