[master] add regression test for RT #41518
4297. [test] Ensure delegations in RPZ zones fail robustly. [RT #41518]
This commit is contained in:
@@ -642,5 +642,9 @@ $RNDCCMD $ns7 reload policy2
|
||||
$DIG z.x.servfail -p 5300 @$ns7 > dig.out.ns7
|
||||
grep NXDOMAIN dig.out.ns7 > /dev/null || setret I:failed;
|
||||
|
||||
echo "I:checking rpz with delegation fails correctly"
|
||||
$DIG -p 5300 @$ns3 ns example.com > dig.out.delegation
|
||||
grep "status: SERVFAIL" dig.out.delegation > /dev/null || setret "I:failed"
|
||||
|
||||
echo "I:exit status: $status"
|
||||
exit $status
|
||||
|
||||
Reference in New Issue
Block a user