mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 16:18:53 -04:00
wait for the ./NS lookup to complete
(cherry picked from commit 9b6df37303)
This commit is contained in:
parent
c585221d10
commit
cb271dcef0
1 changed files with 5 additions and 0 deletions
|
|
@ -44,7 +44,12 @@ wait_for_log 20 "all zones loaded" ns4/named.run || ret=1
|
|||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
# both the 'a.example/A' lookup and the './NS' lookup to ns1
|
||||
# need tocomplete before reopening/rolling for the counts to
|
||||
# be correct.
|
||||
|
||||
$DIG $DIGOPTS @10.53.0.3 a.example > dig.out
|
||||
wait_for_log 20 "(./NS): query_reset" ns1/named.run || true
|
||||
|
||||
# check three different dnstap reopen/roll methods:
|
||||
# ns1: dnstap-reopen; ns2: dnstap -reopen; ns3: dnstap -roll
|
||||
|
|
|
|||
Loading…
Reference in a new issue