Lines Matching refs:host
24 host="$1"
31 update add $host $type $ip
35 newtest "I:adding $host $type $ip"
38 echo "I:update failed for $host $type $ip"
42 out=`$DIG $DIGOPTS +noall +answer -t $type -q $host`
47 echo "I:dig output incorrect for $host $type $cmd: $out"
53 lines=`echo "$out" | grep "$host" | wc -l`
56 echo "I:dig reverse output incorrect for $host $type $cmd: $out"
64 host="$1"
67 ip=`$DIG $DIGOPTS +short $host $type`
71 update del $host $type
75 newtest "I:deleting $host $type (was $ip)"
78 echo "I:update failed deleting $host $type"
82 out=`$DIG $DIGOPTS +noall +answer -t $type -q $host`
87 echo "I:dig output incorrect for $host $type $cmd: $out"
93 lines=`echo "$out" | grep "$host" | wc -l`
96 echo "I:dig reverse output incorrect for $host $type $cmd: $out"