From: Bert Hubert Date: Thu, 30 Dec 2010 14:39:10 +0000 (+0000) Subject: lowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix... X-Git-Tag: auth-3.0~480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0957a99f6e117e366d601c5a3d27be3afb9787cb;p=pdns lowercase the nsec3 output (hurts the eyes less, plus identical to nsd), plus fix another case of 'sometimes insigned SOA') git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1767 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 82fdf2a3e..be1aa82d2 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -493,7 +493,7 @@ void PacketHandler::emitNSEC(const std::string& begin, const std::string& end, c void PacketHandler::emitNSEC3(const NSEC3PARAMRecordContent& ns3prc, const std::string& auth, 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 '"<getBeforeAndAfterNamesAbsolute(sd.domain_id, hashed, unhashed, before, after); cerr<<"Done calling for closest encloser, before='"<qdomain)); + hashed=toLower(toBase32Hex(hashQNameWithSalt(ns3rc.d_iterations, ns3rc.d_salt, p->qdomain))); sd.db->getBeforeAndAfterNamesAbsolute(sd.domain_id, hashed, unhashed, before, after); cerr<<"Done calling for main, before='"<getBeforeAndAfterNamesAbsolute(sd.domain_id, hashed, unhashed, before, after); cerr<<"Done calling for '*', before='"<addRecord(rr); if(p->d_dnssecOk)