[v9_9] dump masterfile after successful xfrin
3470. [bug] Slave zones could fail to dump when successfully
refreshing after an initial failure. [RT #31276]
(cherry picked from commit 214836c184)
This commit is contained in:
@@ -116,6 +116,14 @@ $RNDC -c ../common/rndc.conf -s 10.53.0.7 -p 9953 reload 2>&1 | sed 's/^/I:ns7 /
|
||||
|
||||
sleep 3
|
||||
|
||||
echo "I:testing zone is dumped after successful transfer"
|
||||
$DIG $DIGOPTS +noall +answer +multi @10.53.0.2 -p 5300 \
|
||||
slave. soa > dig.out.ns2 || tmp=1
|
||||
grep "1397051952 ; serial" dig.out.ns2 > /dev/null 2>&1 || tmp=1
|
||||
grep "1397051952 ; serial" ns2/slave.db > /dev/null 2>&1 || tmp=1
|
||||
if test $tmp != 0 ; then echo "I:failed"; fi
|
||||
status=`expr $status + $tmp`
|
||||
|
||||
echo "I:testing ixfr-from-differences yes;"
|
||||
tmp=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user