From f3304d408c0c46d324e0c22be657606ca1f42451 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 13 Nov 2017 12:11:38 +0000 Subject: [PATCH] - 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 --- doc/Changelog | 1 + iterator/iterator.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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) {