mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Give the servers a moment to start up before asking them for version.bind
This commit is contained in:
parent
9fbfa24ca5
commit
8f6e9f760b
1 changed files with 3 additions and 1 deletions
|
|
@ -60,11 +60,13 @@ done
|
|||
|
||||
status=0
|
||||
|
||||
sleep 5
|
||||
|
||||
for d in ns*
|
||||
do
|
||||
n=`echo $d | sed 's/ns//'`
|
||||
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p 5300 \
|
||||
version.bind. chaos txt @10.53.0.$n soa > dig.out
|
||||
version.bind. chaos txt @10.53.0.$n > dig.out
|
||||
status=`expr $status + $?`
|
||||
grep ";" dig.out
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue