]> granicus.if.org Git - pdns/commitdiff
add no-DNSSEC ENT support, patch by Kees Monshouwer
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Wed, 3 Oct 2012 17:21:21 +0000 (17:21 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Wed, 3 Oct 2012 17:21:21 +0000 (17:21 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2732 d19b8d6e-7fed-0310-83ef-9ca221ded41b

22 files changed:
modules/gmysqlbackend/gmysqlbackend.cc
modules/gpgsqlbackend/gpgsqlbackend.cc
modules/gsqlite3backend/gsqlite3backend.cc
pdns/backends/gsql/gsqlbackend.cc
pdns/backends/gsql/gsqlbackend.hh
pdns/dnsbackend.hh
pdns/pdnssec.cc
regression-tests/ent-any/expected_result
regression-tests/ent-any/expected_result.dnssec [new file with mode: 0644]
regression-tests/ent-any/skip.nodnssec [deleted file]
regression-tests/ent-rr-enclosed-in-ent/expected_result
regression-tests/ent-rr-enclosed-in-ent/expected_result.dnssec [new file with mode: 0644]
regression-tests/ent-rr-enclosed-in-ent/skip.nodnssec [deleted file]
regression-tests/ent-soa/expected_result
regression-tests/ent-soa/expected_result.dnssec [new file with mode: 0644]
regression-tests/ent-soa/skip.nodnssec [deleted file]
regression-tests/ent-wildcard-below-ent/expected_result
regression-tests/ent-wildcard-below-ent/expected_result.dnssec [new file with mode: 0644]
regression-tests/ent-wildcard-below-ent/skip.nodnssec [deleted file]
regression-tests/ent/expected_result
regression-tests/ent/expected_result.dnssec [new file with mode: 0644]
regression-tests/ent/skip.nodnssec [deleted file]

index 86ca233aaa5d2f1a6e5c5e7e347d73f62ba16408..315e7a30b86cf09573ea435443adb2d86c10a171 100644 (file)
@@ -63,6 +63,10 @@ public:
     declare(suffix,"wildcard-any-id-query","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name from records where name like '%s' and domain_id='%d'");
 
     declare(suffix,"list-query","AXFR query", "select content,ttl,prio,type,domain_id,name from records where domain_id='%d'");
+
+    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
+    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type) values ('%d','%s',null)");
+    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
   
     // and now with auth
     declare(suffix,"basic-query-auth","Basic query","select content,ttl,prio,type,domain_id,name, auth from records where type='%s' and name='%s'");
@@ -76,6 +80,8 @@ public:
     declare(suffix,"wildcard-any-id-query-auth","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name, auth from records where name like '%s' and domain_id='%d'");
 
     declare(suffix,"list-query-auth","AXFR query", "select content,ttl,prio,type,domain_id,name, auth from records where domain_id='%d' order by name, type");
+
+    declare(suffix,"insert-empty-non-terminal-query-auth", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,'1')");
     
     declare(suffix,"master-zone-query","Data", "select master from domains where name='%s' and type='SLAVE'");
 
@@ -94,9 +100,6 @@ public:
     declare(suffix,"set-order-and-auth-query", "DNSSEC set ordering query", "update records set ordername='%s',auth=%d where name='%s' and domain_id='%d'");
     declare(suffix,"nullify-ordername-query", "DNSSEC nullify ordername query", "update records set ordername=NULL where domain_id='%d' and name='%s' and type is null");
     declare(suffix,"nullify-ordername-and-auth-query", "DNSSEC nullify ordername and auth query", "update records set ordername=NULL,auth=0 where name='%s' and type='%s' and domain_id='%d'");
-    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
-    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,'1')");
-    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
 
     declare(suffix,"update-serial-query","", "update domains set notified_serial=%d where id=%d");
     declare(suffix,"update-lastcheck-query","", "update domains set last_check=%d where id=%d");
index ad6f760e9ee2e2b62f739aba6a5d90fe3c2e8472..7a2bd38146a273c9e6af3dcf031b8591e1350b9f 100644 (file)
@@ -60,6 +60,10 @@ public:
     declare(suffix,"wildcard-any-id-query","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name from records where name like E'%s' and domain_id='%d'");
 
     declare(suffix,"list-query","AXFR query", "select content,ttl,prio,type,domain_id,name from records where domain_id='%d'");
+
+    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
+    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type) values ('%d','%s',null)");
+    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
   
     // and now with auth
     declare(suffix,"basic-query-auth","Basic query","select content,ttl,prio,type,domain_id,name, case when auth then 1 else 0 end as auth from records where type='%s' and name=E'%s'");
@@ -73,6 +77,8 @@ public:
     declare(suffix,"wildcard-any-id-query-auth","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name, case when auth then 1 else 0 end as auth from records where name like E'%s' and domain_id='%d'");
 
     declare(suffix,"list-query-auth","AXFR query", "select content,ttl,prio,type,domain_id,name, case when auth then 1 else 0 end as auth from records where domain_id='%d' order by name, type");
+
+    declare(suffix,"insert-empty-non-terminal-query-auth", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,true)");
     
     declare(suffix,"master-zone-query","Data", "select master from domains where name=E'%s' and type='SLAVE'");
 
@@ -92,9 +98,6 @@ public:
 
     declare(suffix,"nullify-ordername-query", "DNSSEC nullify ordername query", "update records set ordername=NULL where domain_id='%d' and name='%s' and type is null");
     declare(suffix,"nullify-ordername-and-auth-query", "DNSSEC nullify ordername and auth query", "update records set ordername=NULL,auth=false where name=E'%s' and type=E'%s' and domain_id='%d'");
-    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
-    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,true)");
-    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
     
     declare(suffix,"update-serial-query","", "update domains set notified_serial=%d where id=%d");
     declare(suffix,"update-lastcheck-query","", "update domains set last_check=%d where id=%d");
index f7692582aba6cd76210d4efdbbeb4b9f2f4a8758..f9c39e3165f1bdc7f635a66ec9365ec873570913 100644 (file)
@@ -69,6 +69,10 @@ public:
     declare( suffix, "wildcard-any-id-query", "Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name from records where name like '%s' and domain_id=%d");
 
     declare( suffix, "list-query", "AXFR query", "select content,ttl,prio,type,domain_id,name from records where domain_id=%d");
+
+    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
+    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type) values ('%d','%s',null)");
+    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
     
     // and now with auth
     declare(suffix,"basic-query-auth","Basic query","select content,ttl,prio,type,domain_id,name, auth from records where type='%s' and name='%s'");
@@ -82,6 +86,8 @@ public:
     declare(suffix,"wildcard-any-id-query-auth","Wildcard ANY with ID query","select content,ttl,prio,type,domain_id,name, auth from records where name like '%s' and domain_id='%d'");
 
     declare(suffix,"list-query-auth","AXFR query", "select content,ttl,prio,type,domain_id,name, auth from records where domain_id='%d' order by name, type");
+
+    declare(suffix,"insert-empty-non-terminal-query-auth", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,'1')");
     
     declare(suffix,"get-order-first-query","DNSSEC Ordering Query, first", "select ordername, name from records where domain_id=%d and ordername is not null order by 1 asc limit 1");
     declare(suffix,"get-order-before-query","DNSSEC Ordering Query, before", "select ordername, name from records where ordername <= '%s' and domain_id=%d and ordername is not null order by 1 desc limit 1");
@@ -91,9 +97,6 @@ public:
 
     declare(suffix,"nullify-ordername-query", "DNSSEC nullify ordername query", "update records set ordername=NULL where domain_id='%d' and name='%s' and type is null");
     declare(suffix,"nullify-ordername-and-auth-query", "DNSSEC nullify ordername and auth query", "update records set ordername=NULL,auth=0 where name='%s' and type='%s' and domain_id='%d'");
-    declare(suffix,"remove-empty-non-terminals-from-zone-query", "remove all empty non-terminals from zone", "delete from records where domain_id='%d' and type is null");
-    declare(suffix,"insert-empty-non-terminal-query", "insert empty non-terminal in zone", "insert into records (domain_id,name,type,auth) values ('%d','%s',null,'1')");
-    declare(suffix,"delete-empty-non-terminal-query", "delete empty non-terminal from zone", "delete from records where domain_id='%d' and name='%s' and type is null");
     
     declare( suffix, "master-zone-query", "Data", "select master from domains where name='%s' and type='SLAVE'");
 
index 18e342e9b5e4d6331b49bd5ee45485db63db1d9f..2ea3820a8ca455e99a0fdf1ebe2fc5ca557a660e 100644 (file)
@@ -279,6 +279,10 @@ GSQLBackend::GSQLBackend(const string &mode, const string &suffix)
   d_InfoOfAllMasterDomainsQuery=getArg("info-all-master-query");
   d_DeleteZoneQuery=getArg("delete-zone-query");
   d_getAllDomainsQuery=getArg("get-all-domains-query");
+
+  d_removeEmptyNonTerminalsFromZoneQuery = getArg("remove-empty-non-terminals-from-zone-query");
+  d_insertEmptyNonTerminalQuery = getArg("insert-empty-non-terminal-query"+authswitch);
+  d_deleteEmptyNonTerminalQuery = getArg("delete-empty-non-terminal-query");
   
   if (d_dnssecQueries)
   {
@@ -289,9 +293,6 @@ GSQLBackend::GSQLBackend(const string &mode, const string &suffix)
     d_setOrderAuthQuery = getArg("set-order-and-auth-query");
     d_nullifyOrderNameQuery = getArg("nullify-ordername-query");
     d_nullifyOrderNameAndAuthQuery = getArg("nullify-ordername-and-auth-query");
-    d_removeEmptyNonTerminalsFromZoneQuery = getArg("remove-empty-non-terminals-from-zone-query");
-    d_insertEmptyNonTerminalQuery = getArg("insert-empty-non-terminal-query");
-    d_deleteEmptyNonTerminalQuery = getArg("delete-empty-non-terminal-query");
     
     d_AddDomainKeyQuery = getArg("add-domain-key-query");
     d_ListDomainKeysQuery = getArg("list-domain-keys-query");
@@ -354,8 +355,6 @@ bool GSQLBackend::nullifyDNSSECOrderNameAndAuth(uint32_t domain_id, const std::s
 
 bool GSQLBackend::updateEmptyNonTerminals(uint32_t domain_id, const std::string& zonename, set<string>& insert, set<string>& erase, bool remove)
 {
-  if(!d_dnssecQueries)
-    return false;
   char output[1024];
 
   if(remove) {
@@ -396,6 +395,11 @@ bool GSQLBackend::updateEmptyNonTerminals(uint32_t domain_id, const std::string&
   return true;
 }
 
+bool GSQLBackend::doesDNSSEC()
+{
+    return d_dnssecQueries;
+}
+
 bool GSQLBackend::getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string& qname, std::string& unhashed, std::string& before, std::string& after)
 {
   if(!d_dnssecQueries)
index 08db1dce77d9579f8b993f631c3435286b770576..026e92e5163741c8bc8839d878278cc79140ac4d 100644 (file)
@@ -46,6 +46,7 @@ public:
   virtual bool nullifyDNSSECOrderName(uint32_t domain_id, const std::string& qname);
   virtual bool nullifyDNSSECOrderNameAndAuth(uint32_t domain_id, const std::string& qname, const std::string& type);
   virtual bool updateEmptyNonTerminals(uint32_t domain_id, const std::string& zonename, set<string>& insert ,set<string>& erase, bool remove);
+  virtual bool doesDNSSEC();
 
   virtual bool calculateSOASerial(const string& domain, const SOAData& sd, time_t& serial);
 
index 4b8b9c46427bf27a544fb40fd937058e201d0dc6..ccc246b02e8236e92b14d093df8b127684ff4ffe 100644 (file)
@@ -151,6 +151,11 @@ public:
     return false;
   }
 
+  virtual bool doesDNSSEC()
+  {
+    return false;
+  }
+
   // end DNSSEC
 
   //! returns true if master ip is master for domain name.
index db09cef15cd7f329c7c84ad27972ca09a66e2944..a5de76923a72e93cc9b653d0d82714830e9f6b80 100644 (file)
@@ -131,12 +131,17 @@ void rectifyZone(DNSSECKeeper& dk, const std::string& zone)
   NSEC3PARAMRecordContent ns3pr;
   bool narrow;
   bool haveNSEC3=dk.getNSEC3PARAM(zone, &ns3pr, &narrow);
-  if(!haveNSEC3) 
-    cerr<<"Adding NSEC ordering information"<<endl;
-  else if(!narrow)
-    cerr<<"Adding NSEC3 hashed ordering information for '"<<zone<<"'"<<endl;
-  else 
-    cerr<<"Erasing NSEC3 ordering since we are narrow, only setting 'auth' fields"<<endl;
+  if(sd.db->doesDNSSEC())
+  {
+    if(!haveNSEC3) 
+      cerr<<"Adding NSEC ordering information "<<endl;
+    else if(!narrow)
+      cerr<<"Adding NSEC3 hashed ordering information for '"<<zone<<"'"<<endl;
+    else 
+      cerr<<"Erasing NSEC3 ordering since we are narrow, only setting 'auth' fields"<<endl;
+  }
+  else
+    cerr<<"Non DNSSEC zone, only adding empty non-terminals"<<endl;
   
   if(doTransaction)
     sd.db->startTransaction("", -1);
index baa54f61515de3eaa585861149e1822e718994f7..08eb6d79d855405179bb353dc583ac6d7dfd9b62 100644 (file)
@@ -1,6 +1,3 @@
-1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
-1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
-1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
 1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
 2      .       IN      OPT     32768   
 Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
diff --git a/regression-tests/ent-any/expected_result.dnssec b/regression-tests/ent-any/expected_result.dnssec
new file mode 100644 (file)
index 0000000..baa54f6
--- /dev/null
@@ -0,0 +1,7 @@
+1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
+1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
+2      .       IN      OPT     32768   
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='c.test.com.', qtype=ANY
diff --git a/regression-tests/ent-any/skip.nodnssec b/regression-tests/ent-any/skip.nodnssec
deleted file mode 100644 (file)
index e69de29..0000000
index 720708fe59a208a5dd15fe7716abacc5bb8b8790..f17c7a69f01fcc1d674ef19165796c1a0a18654d 100644 (file)
@@ -1,6 +1,3 @@
-1      b.c.test.com.   IN      NSEC    86400   *.a.b.c.test.com. A RRSIG NSEC
-1      b.c.test.com.   IN      RRSIG   86400   NSEC 8 4 86400 [expiry] [inception] [keytag] test.com. ...
-1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
 1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
 2      .       IN      OPT     32768   
 Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
diff --git a/regression-tests/ent-rr-enclosed-in-ent/expected_result.dnssec b/regression-tests/ent-rr-enclosed-in-ent/expected_result.dnssec
new file mode 100644 (file)
index 0000000..720708f
--- /dev/null
@@ -0,0 +1,7 @@
+1      b.c.test.com.   IN      NSEC    86400   *.a.b.c.test.com. A RRSIG NSEC
+1      b.c.test.com.   IN      RRSIG   86400   NSEC 8 4 86400 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
+2      .       IN      OPT     32768   
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='b.c.test.com.', qtype=TXT
diff --git a/regression-tests/ent-rr-enclosed-in-ent/skip.nodnssec b/regression-tests/ent-rr-enclosed-in-ent/skip.nodnssec
deleted file mode 100644 (file)
index e69de29..0000000
index 862bcffef5ff8947e1340d33cc97d8a1e367be30..64ef2e63dc007d086ae35791f12c3d86e1b97f9a 100644 (file)
@@ -1,6 +1,3 @@
-1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
-1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
-1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
 1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
 2      .       IN      OPT     32768   
 Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
diff --git a/regression-tests/ent-soa/expected_result.dnssec b/regression-tests/ent-soa/expected_result.dnssec
new file mode 100644 (file)
index 0000000..862bcff
--- /dev/null
@@ -0,0 +1,7 @@
+1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
+1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
+2      .       IN      OPT     32768   
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='c.test.com.', qtype=SOA
diff --git a/regression-tests/ent-soa/skip.nodnssec b/regression-tests/ent-soa/skip.nodnssec
deleted file mode 100644 (file)
index e69de29..0000000
index 6f1d98a0ed026f18ef47f4dd57e2532ab7946eb6..d8c1822428cb622fed3c5bbd81879373eace6dbb 100644 (file)
@@ -1,7 +1,4 @@
 0      something.a.b.c.test.com.       IN      A       3600    8.7.6.5
-0      something.a.b.c.test.com.       IN      RRSIG   3600    A 8 5 3600 [expiry] [inception] [keytag] test.com. ...
-1      *.a.b.c.test.com.       IN      NSEC    86400   counter.test.com. A RRSIG NSEC
-1      *.a.b.c.test.com.       IN      RRSIG   86400   NSEC 8 5 86400 [expiry] [inception] [keytag] test.com. ...
 2      .       IN      OPT     32768   
 Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
 Reply to question for qname='something.a.b.c.test.com.', qtype=A
diff --git a/regression-tests/ent-wildcard-below-ent/expected_result.dnssec b/regression-tests/ent-wildcard-below-ent/expected_result.dnssec
new file mode 100644 (file)
index 0000000..6f1d98a
--- /dev/null
@@ -0,0 +1,7 @@
+0      something.a.b.c.test.com.       IN      A       3600    8.7.6.5
+0      something.a.b.c.test.com.       IN      RRSIG   3600    A 8 5 3600 [expiry] [inception] [keytag] test.com. ...
+1      *.a.b.c.test.com.       IN      NSEC    86400   counter.test.com. A RRSIG NSEC
+1      *.a.b.c.test.com.       IN      RRSIG   86400   NSEC 8 5 86400 [expiry] [inception] [keytag] test.com. ...
+2      .       IN      OPT     32768   
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='something.a.b.c.test.com.', qtype=A
diff --git a/regression-tests/ent-wildcard-below-ent/skip.nodnssec b/regression-tests/ent-wildcard-below-ent/skip.nodnssec
deleted file mode 100644 (file)
index e69de29..0000000
index 4400426c6c39e4df7f5a652412996cd2104b59d7..7a707b2d0cceeca0f6fac2be542905cb4b36a112 100644 (file)
@@ -1,6 +1,3 @@
-1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
-1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
-1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
 1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
 2      .       IN      OPT     32768   
 Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
diff --git a/regression-tests/ent/expected_result.dnssec b/regression-tests/ent/expected_result.dnssec
new file mode 100644 (file)
index 0000000..4400426
--- /dev/null
@@ -0,0 +1,7 @@
+1      blah.test.com.  IN      NSEC    86400   b.c.test.com. NS RRSIG NSEC
+1      blah.test.com.  IN      RRSIG   86400   NSEC 8 3 86400 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      RRSIG   3600    SOA 8 2 3600 [expiry] [inception] [keytag] test.com. ...
+1      test.com.       IN      SOA     3600    ns1.test.com. ahu.example.com. 2005092501 28800 7200 604800 86400
+2      .       IN      OPT     32768   
+Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='c.test.com.', qtype=A
diff --git a/regression-tests/ent/skip.nodnssec b/regression-tests/ent/skip.nodnssec
deleted file mode 100644 (file)
index e69de29..0000000