]> granicus.if.org Git - pdns/commitdiff
auth: ignore NSEC3PARAM records in a presigned zone
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 30 Apr 2018 19:35:37 +0000 (21:35 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 30 Apr 2018 19:35:37 +0000 (21:35 +0200)
modules/bindbackend/bindbackend2.cc

index 3a1971fd2504793001fbe792dbceafdc94ed2ce2..c1935d892bdf7efd9adbbc32c28f7c5b238201ab 100644 (file)
@@ -462,7 +462,7 @@ void Bind2Backend::parseZoneFile(BB2DomainInfo *bbd)
   DNSResourceRecord rr;
   string hashed;
   while(zpt.get(rr)) { 
-    if(rr.qtype.getCode() == QType::NSEC || rr.qtype.getCode() == QType::NSEC3)
+    if(rr.qtype.getCode() == QType::NSEC || rr.qtype.getCode() == QType::NSEC3 || rr.qtype.getCode() == QType::NSEC3PARAM)
       continue; // we synthesise NSECs on demand
 
     insertRecord(*bbd, rr.qname, rr.qtype, rr.content, rr.ttl, "");