From 04d2815fc176d557996787575bf95e324fa82e9f Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Mon, 23 Nov 2015 12:46:21 +0100 Subject: [PATCH] Fix ANY under DLOG Previously, unit tests would produce: After first ANY query for 'aland.test.com.', id=10: weDone=1, weHaveUnauth=0, weRedirected=0, haveAlias='Exception building answer packet (Attempt to print an unset dnsname) sending out servfail --- pdns/packethandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index de2d85341c..7dd2d9a6e3 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1375,7 +1375,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse) } - DLOG(L<<"After first ANY query for '"<qtype.getCode() == QType::DS && weHaveUnauth && !weDone && !weRedirected && d_dk.isSecuredZone(sd.qname)) { DLOG(L<<"Q for DS of a name for which we do have NS, but for which we don't have on a zone with DNSSEC need to provide an AUTH answer that proves we don't"<