From: Wouter Wijngaards Date: Mon, 13 Nov 2017 12:11:38 +0000 (+0000) Subject: - Fix qname minimisation to send AAAA queries at zonecut like type A. X-Git-Tag: release-1.7.0rc1~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3304d408c0c46d324e0c22be657606ca1f42451;p=thirdparty%2Funbound.git - Fix qname minimisation to send AAAA queries at zonecut like type A. git-svn-id: file:///svn/unbound/trunk@4402 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 2eb3848cc..948fd24c4 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/iterator/iterator.c b/iterator/iterator.c index d67d8eb36..c69ef4c73 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -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) {