]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix qname minimisation to send AAAA queries at zonecut like type A.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 13 Nov 2017 12:11:38 +0000 (12:11 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 13 Nov 2017 12:11:38 +0000 (12:11 +0000)
git-svn-id: file:///svn/unbound/trunk@4402 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
iterator/iterator.c

index 2eb3848cc5310458b3b0b66c6b8ffeaae11c492c..948fd24c4de05b630aa41e9e56ec4a3bffcb7da9 100644 (file)
@@ -1,5 +1,6 @@
 13 November 2017: Wouter 
        - Fix #2801: Install libunbound.pc.
+       - Fix qname minimisation to send AAAA queries at zonecut like type A.
 
 7 November 2017: Wouter 
        - Fix #2492: Documentation libunbound.
index d67d8eb3683020e5345ad23a43ae834128a914c4..c69ef4c73152abe16d34b355f7e8b25d553aba45 100644 (file)
@@ -2154,7 +2154,8 @@ processQueryTargets(struct module_qstate* qstate, struct iter_qstate* iq,
                }
                if(labdiff < 1 || (labdiff < 2 
                        && (iq->qchase.qtype == LDNS_RR_TYPE_DS
-                       || iq->qchase.qtype == LDNS_RR_TYPE_A)))
+                       || iq->qchase.qtype == LDNS_RR_TYPE_A
+                       || iq->qchase.qtype == LDNS_RR_TYPE_AAAA)))
                        /* Stop minimising this query, resolve "as usual" */
                        iq->minimisation_state = DONOT_MINIMISE_STATE;
                else if(!qstate->no_cache_lookup) {