]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove invalid DNSKEY RRset from zone
authorMark Andrews <marka@isc.org>
Tue, 9 Jan 2024 03:58:37 +0000 (14:58 +1100)
committerMark Andrews <marka@isc.org>
Thu, 16 May 2024 02:10:01 +0000 (12:10 +1000)
(cherry picked from commit 315ad2df7adc7ff36ed435490fec067f11680b31)

bin/tests/system/dnssec/ns3/secure.example.db.in
bin/tests/system/dnssec/tests.sh

index 883e06790bbc8c2696fbdece099160774ce078ce..b82b280219dc94f0443f17df51d85832b0552aae 100644 (file)
@@ -30,7 +30,6 @@ g                     A       10.0.0.7
 z                      A       10.0.0.26
 a.a.a.a.a.a.a.a.a.a.e  A       10.0.0.27
 x                      CNAME   a
-zz                     DNSKEY  258 3 5 Cg==
 
 private                        NS      ns.private
 ns.private             A       10.53.0.2
index bec245c2de00a560264a9f0f25010309f7e41eb8..c7b1c3aab8fcbe02e56ef54b23c99440262b41a0 100644 (file)
@@ -3957,9 +3957,9 @@ ret=0
 dig_with_opts any x.insecure.example. @10.53.0.3 >dig.out.ns3.1.test$n || ret=1
 grep "status: NOERROR" dig.out.ns3.1.test$n >/dev/null || ret=1
 grep "ANSWER: 0," dig.out.ns3.1.test$n >/dev/null || ret=1
-dig_with_opts any zz.secure.example. @10.53.0.3 >dig.out.ns3.2.test$n || ret=1
+dig_with_opts any z.secure.example. @10.53.0.3 >dig.out.ns3.2.test$n || ret=1
 grep "status: NOERROR" dig.out.ns3.2.test$n >/dev/null || ret=1
-# DNSKEY+RRSIG, NSEC+RRSIG
+# A+RRSIG, NSEC+RRSIG
 grep "ANSWER: 4," dig.out.ns3.2.test$n >/dev/null || ret=1
 n=$((n + 1))
 test "$ret" -eq 0 || echo_i "failed"