mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:09:59 -04:00
wait for zone to transfer
This commit is contained in:
parent
89b23dc57e
commit
cc00679829
1 changed files with 9 additions and 0 deletions
|
|
@ -22,6 +22,15 @@ DIGOPTS="+tcp +nosea +nostat +noquest +nocomm +nocmd"
|
|||
status=0
|
||||
n=0
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:waiting for zone transfer to complete ($n)"
|
||||
ret=0
|
||||
for i in 1 2 3 4 5 6 7 8 9
|
||||
do
|
||||
$DIG $DIGOPTS soa example. @10.53.0.2 -p 5300 > dig.ns2.test$n
|
||||
grep SOA dig.ns2.test$n > /dev/null && break
|
||||
done
|
||||
|
||||
n=`expr $n + 1`
|
||||
echo "I:testing case preserving responses - no acl ($n)"
|
||||
ret=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue