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.
This commit is contained in:
Witold Kręcicki 2019-05-24 14:03:16 +02:00 committed by Evan Hunt
parent 6c6d93b29d
commit 2691e729f0

View file

@ -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;