]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check RRSIG covered type in negative cache entry
authorMark Andrews <marka@isc.org>
Fri, 15 Sep 2023 04:27:31 +0000 (14:27 +1000)
committerMark Andrews <marka@isc.org>
Mon, 18 Sep 2023 03:38:27 +0000 (13:38 +1000)
The covered type previously displayed as TYPE0 when it should
have reflected the records that was actually covered.

bin/tests/system/dnssec/tests.sh

index f3e579d1fd2cb23eb0fb223a925d5fa3f9697f36..5daa9bff50546b15379a5bb092d078057f938de5 100644 (file)
@@ -377,6 +377,14 @@ if [ -x "${DELV}" ] ; then
    status=$((status+ret))
 fi
 
+echo_i "checking RRSIG covered type in negative cache entry ($n)"
+ret=0
+rndc_dumpdb ns4
+grep -F '; example. RRSIG NSEC ...' ns4/named_dump.db.test$n > /dev/null || ret=1
+n=$((n+1))
+test "$ret" -eq 0 || echo_i "failed"
+status=$((status+ret))
+
 echo_i "checking negative validation NXDOMAIN NSEC3 ($n)"
 ret=0
 dig_with_opts +noauth q.nsec3.example. \