This allows the statistics channel to be viewed in a browser while
the transfer is in progress. Also set the transfer format to
one-answer to extend the amount of time the re-transfer takes.
When running the statschannel test on its own, use
<http://10.53.0.3:5304/xml/v3/xfrins> to see the output.
Note: the port is subject to future change.
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};
+server 10.53.0.3 {
+ transfer-format one-answer;
+};
+
zone "example" {
type primary;
file "example.db";
status=$((status + ret))
n=$((n + 1))
+echo_i "Wait for slow zone transfer to complete ($n)"
+ret=0
+wait_for_log 20 "zone example/IN: zone transfer finished: success" ns3/named.run || ret=1
+if [ $ret != 0 ]; then echo_i "failed"; fi
+status=$((status + ret))
+n=$((n + 1))
+
echo_i "exit status: $status"
[ $status -eq 0 ] || exit 1