mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-16 23:52:40 -04:00
Handle dig timing out gracefully in dnstap
This commit is contained in:
parent
343b3f0f84
commit
fcce010045
1 changed files with 2 additions and 2 deletions
|
|
@ -573,7 +573,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
|
|||
status=$((status + ret))
|
||||
|
||||
if [ -n "$FSTRM_CAPTURE" ]; then
|
||||
$DIG $DIGOPTS @10.53.0.4 a.example >dig.out
|
||||
$DIG $DIGOPTS @10.53.0.4 a.example >dig.out || ret=1
|
||||
|
||||
# send an UPDATE to ns4
|
||||
$NSUPDATE <<-EOF >nsupdate.out 2>&1 && ret=1
|
||||
|
|
@ -704,7 +704,7 @@ EOF
|
|||
ret=1
|
||||
}
|
||||
$RNDCCMD -s 10.53.0.4 dnstap -reopen | sed 's/^/ns4 /' | cat_i
|
||||
$DIG $DIGOPTS @10.53.0.4 a.example >dig.out
|
||||
$DIG $DIGOPTS @10.53.0.4 a.example >dig.out || ret=1
|
||||
|
||||
echo_i "checking reopened unix socket message counts"
|
||||
sleep 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue