2010-08-11 18:14:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2017-02-02 23:45:47 +00:00
|
|
|
# Copyright (C) 2010, 2012-2014, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
|
2012-06-29 11:39:47 +10:00
|
|
|
#
|
2016-06-27 14:56:38 +10:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2010-08-11 18:14:20 +00:00
|
|
|
|
2014-05-06 22:06:04 -07:00
|
|
|
SYSTEMTESTTOP=..
|
|
|
|
. $SYSTEMTESTTOP/conf.sh
|
2010-08-11 18:14:20 +00:00
|
|
|
|
2014-05-06 22:06:04 -07:00
|
|
|
$SHELL clean.sh
|
2013-01-09 07:40:27 +11:00
|
|
|
|
2017-02-02 17:25:54 +11:00
|
|
|
cp -f ns1/redirect.db.1 ns1/redirect.db
|
|
|
|
cp -f ns2/redirect.db.1 ns2/redirect.db
|
|
|
|
cp -f ns3/redirect.db.1 ns3/redirect.db
|
2018-02-20 15:43:27 -08:00
|
|
|
|
|
|
|
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
|
copy_setports ns2/named1.conf.in ns2/named.conf
|
|
|
|
copy_setports ns3/named1.conf.in ns3/named.conf
|
|
|
|
|
2010-08-12 01:31:36 +00:00
|
|
|
cp -f ns2/default.nzf.in ns2/3bf305731dd26307.nzf
|
2017-10-04 23:44:08 -07:00
|
|
|
rm -f ns3/*.nzf ns3/*.nzf~
|
|
|
|
rm -f ns3/*.nzd ns3/*.nzd-lock
|
|
|
|
rm -f ns3/inlineslave.db
|
2017-04-23 23:16:53 -07:00
|
|
|
mkdir ns2/new-zones
|