Commit 1c4ecfd9 authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

look for server on port 5300, too

parent 92ab6def
...@@ -55,7 +55,11 @@ status=0 ...@@ -55,7 +55,11 @@ status=0
for d in ns* for d in ns*
do do
n=`echo $d | sed 's/ns//'` 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 version.bind. chaos txt @10.53.0.$n soa > dig.out
status=`expr $status + $?` status=`expr $status + $?`
grep ";" dig.out grep ";" dig.out
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment