From: Bert Hubert Date: Sun, 9 Jan 2011 09:06:25 +0000 (+0000) Subject: always sign DS records - bit of an oddity, we normally assume that all records with... X-Git-Tag: auth-3.0~403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eecb5f36e32acd25f9d8046fb4a07b2d8cd0256a;p=pdns always sign DS records - bit of an oddity, we normally assume that all records with the same name have the same 'auth' status, but they don't git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1844 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index ae937be79..34128b8c2 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -303,7 +303,7 @@ void DNSPacket::wrapup(DNSSECKeeper* dk) signQType = pos ->qtype.getCode(); signTTL = pos->ttl; signPlace = (DNSPacketWriter::Place) pos->d_place; - if(pos->auth) + if(pos->auth || pos->qtype.getCode() == QType::DS) toSign.push_back(drc); }