2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

wait for zone to transfer

This commit is contained in:
Mark Andrews
2014-02-23 14:06:15 +11:00
parent 89b23dc57e
commit cc00679829

View File

@@ -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