caclulate nlabels and set *chainingp correctly

This commit is contained in:
Evan Hunt
2018-07-24 10:18:58 -07:00
parent 9d7ad52506
commit 3f907b8bee
2 changed files with 5 additions and 3 deletions

View File

@@ -204,6 +204,7 @@ n=`expr $n + 1`
echo_i "checking DNAME target filtering (deny) ($n)"
ret=0
$DIG $DIGOPTS +tcp foo.baddname.example.net @10.53.0.1 a > dig.out.ns1.test${n} || ret=1
grep "DNAME target foo.baddname.example.org denied for foo.baddname.example.net/IN" ns1/named.run >/dev/null || ret=1
grep "status: SERVFAIL" dig.out.ns1.test${n} > /dev/null || ret=1
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`