mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Check RRSIG covered type in negative cache entry
The covered type previously displayed as TYPE0 when it should
have reflected the records that was actually covered.
(cherry picked from commit 8ce359652a)
This commit is contained in:
parent
933d03fc83
commit
88f696de93
1 changed files with 8 additions and 0 deletions
|
|
@ -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. \
|
||||
|
|
|
|||
Loading…
Reference in a new issue