2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

look for server on port 5300, too

This commit is contained in:
Andreas Gustafsson
2000-06-06 23:40:25 +00:00
parent 92ab6defb6
commit 1c4ecfd97e

View File

@@ -55,7 +55,11 @@ status=0
for d in ns*
do
n=`echo $d | sed 's/ns//'`
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
# Until all scripts have been converted to use port 5300,
# tests for port 53, too.
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p 5300 \
version.bind. chaos txt @10.53.0.$n soa > dig.out ||
$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p 53 \
version.bind. chaos txt @10.53.0.$n soa > dig.out
status=`expr $status + $?`
grep ";" dig.out