mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 00:58:39 -04:00
fix legacy test
use rndc rather than signals to stop the server
This commit is contained in:
parent
f1906e8ea3
commit
4e597364a6
2 changed files with 10 additions and 3 deletions
|
|
@ -20,6 +20,15 @@ options {
|
|||
recursion yes;
|
||||
};
|
||||
|
||||
key rndc_key {
|
||||
secret "1234abcd8765";
|
||||
algorithm hmac-sha256;
|
||||
};
|
||||
|
||||
controls {
|
||||
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||
};
|
||||
|
||||
zone "." {
|
||||
type master;
|
||||
file "root.db";
|
||||
|
|
|
|||
|
|
@ -144,10 +144,8 @@ status=`expr $status + $ret`
|
|||
|
||||
if $SHELL ../testcrypto.sh > /dev/null 2>&1
|
||||
then
|
||||
$PERL $SYSTEMTESTTOP/stop.pl legacy ns1
|
||||
|
||||
$PERL $SYSTEMTESTTOP/stop.pl --use-rndc --port ${CONTROLPORT} legacy ns1
|
||||
copy_setports ns1/named2.conf.in ns1/named.conf
|
||||
|
||||
$PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} legacy ns1
|
||||
|
||||
n=`expr $n + 1`
|
||||
|
|
|
|||
Loading…
Reference in a new issue