]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Stop minimising after receiving rcode!=NOERROR
authorRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 3 Dec 2015 15:45:52 +0000 (15:45 +0000)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 3 Dec 2015 15:45:52 +0000 (15:45 +0000)
git-svn-id: file:///svn/unbound/trunk@3573 be551aaa-1e26-0410-a405-d3ace91eadb9

iterator/iterator.c

index 3681a1caef6d0be1a8bf9fd1a30e271628f49ebf..04d9a0b4bc9e5f6697867041b0c8c7680b3ab909 100644 (file)
@@ -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);
 }