From 3328dc4d68b768dcf7af305001317dc490d7ea20 Mon Sep 17 00:00:00 2001 From: Ralph Dolmans Date: Thu, 3 Dec 2015 15:45:52 +0000 Subject: [PATCH] Stop minimising after receiving rcode!=NOERROR git-svn-id: file:///svn/unbound/trunk@3573 be551aaa-1e26-0410-a405-d3ace91eadb9 --- iterator/iterator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iterator/iterator.c b/iterator/iterator.c index 3681a1cae..04d9a0b4b 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -2470,6 +2470,8 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq, /* LAME, THROWAWAY and "unknown" all end up here. * Recycle to the QUERYTARGETS state to hopefully try a * different target. */ + if (qstate->env->cfg->qname_minimisation) + iq->minimisation_state = DONOT_MINIMISE_STATE; return next_state(iq, QUERYTARGETS_STATE); } -- 2.47.2