]> granicus.if.org Git - pdns/commitdiff
also fix up the signing of the SOA in noerror responses
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Dec 2010 21:22:18 +0000 (21:22 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 30 Dec 2010 21:22:18 +0000 (21:22 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1775 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/packethandler.cc

index be1aa82d2b16dad1ad65f151194c80d34cb6e879..ef372d1ba1a8016eaa2eaca56a11ae0e43990c3d 100644 (file)
@@ -985,6 +985,7 @@ void PacketHandler::makeNOError(DNSPacket* p, DNSPacket* r, const std::string& t
   rr.ttl=sd.ttl;
   rr.domain_id=sd.domain_id;
   rr.d_place=DNSResourceRecord::AUTHORITY;
+  rr.auth = 1;
   r->addRecord(rr);
   
   if(p->d_dnssecOk)