mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
check that example/DS is not fetched when validating a.example
This commit is contained in:
@@ -184,6 +184,15 @@ n=$((n+1))
|
|||||||
test "$ret" -eq 0 || echo_i "failed"
|
test "$ret" -eq 0 || echo_i "failed"
|
||||||
status=$((status+ret))
|
status=$((status+ret))
|
||||||
|
|
||||||
|
echo_i "checking that 'example/DS' from the referral was used in previous validation ($n)"
|
||||||
|
ret=0
|
||||||
|
grep "query 'example/DS/IN' approved" ns1/named.run > /dev/null && ret=1
|
||||||
|
grep "fetch: example/DS" ns4/named.run > /dev/null && ret=1
|
||||||
|
grep "validating example/DS: starting" ns4/named.run > /dev/null || ret=1
|
||||||
|
n=$((n+1))
|
||||||
|
test "$ret" -eq 0 || echo_i "failed"
|
||||||
|
status=$((status+ret))
|
||||||
|
|
||||||
if [ -x ${DELV} ] ; then
|
if [ -x ${DELV} ] ; then
|
||||||
ret=0
|
ret=0
|
||||||
echo_i "checking positive validation NSEC using dns_client ($n)"
|
echo_i "checking positive validation NSEC using dns_client ($n)"
|
||||||
|
Reference in New Issue
Block a user