mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 20:50:00 -04:00
improve forensics
This commit is contained in:
parent
768f6c995f
commit
86e5d14e82
1 changed files with 3 additions and 3 deletions
|
|
@ -538,9 +538,9 @@ status=`expr $status + $ret`
|
|||
n=`expr $n + 1`
|
||||
echo "I:test read-only control channel access ($n)"
|
||||
ret=0
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf status > /dev/null 2>&1 || ret=1
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf nta -dump > /dev/null 2>&1 || ret=1
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf reconfig > /dev/null 2>&1 && ret=1
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf status > rndc.out.1.test$n 2>&1 || ret=1
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf nta -dump > rndc.out.2.test$n 2>&1 || ret=1
|
||||
$RNDC -s 10.53.0.5 -p 9953 -c ../common/rndc.conf reconfig > rndc.out.3.test$n 2>&1 && ret=1
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue