From 50eb4144d0b2e8602d32715d92eba2783d6c2dc2 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Wed, 25 Dec 2013 11:38:04 +0100 Subject: [PATCH] always add SOA to apex matching NSECx records post 1dfd8ad SOA can live outside the records table --- pdns/packethandler.cc | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 278f6f4bb2..5efff7aed1 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -453,20 +453,22 @@ int PacketHandler::doAdditionalProcessingAndDropAA(DNSPacket *p, DNSPacket *r, c void PacketHandler::emitNSEC(const std::string& begin, const std::string& end, const std::string& toNSEC, const SOAData& sd, DNSPacket *r, int mode) { - // <<"We should emit '"<addRecord(rr); } void emitNSEC3(DNSBackend& B, const NSEC3PARAMRecordContent& ns3prc, const SOAData& sd, const std::string& unhashed, const std::string& begin, const std::string& end, const std::string& toNSEC3, DNSPacket *r, int mode) { -// cerr<<"We should emit NSEC3 '"<addRecord(rr); } -- 2.47.2