2009-10-27 18:25:37 -04:00
|
|
|
#!/bin/sh -e
|
2000-05-19 18:45:47 -04:00
|
|
|
#
|
2018-02-23 03:53:12 -05:00
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2012-06-28 21:39:47 -04:00
|
|
|
#
|
2016-06-27 00:56:38 -04: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/.
|
2018-02-23 03:53:12 -05:00
|
|
|
#
|
|
|
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
|
|
|
# information regarding copyright ownership.
|
2000-05-15 18:53:15 -04:00
|
|
|
|
2014-01-20 19:08:09 -05:00
|
|
|
SYSTEMTESTTOP=..
|
|
|
|
|
. $SYSTEMTESTTOP/conf.sh
|
2011-02-15 17:02:36 -05:00
|
|
|
|
2014-05-07 01:06:04 -04:00
|
|
|
$SHELL clean.sh
|
2000-08-08 17:47:55 -04:00
|
|
|
|
2017-04-21 02:24:23 -04:00
|
|
|
test -r $RANDFILE || $GENRANDOM 800 $RANDFILE
|
2000-06-22 18:00:42 -04:00
|
|
|
|
2018-02-20 18:43:27 -05:00
|
|
|
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
|
|
copy_setports ns2/named.conf.in ns2/named.conf
|
|
|
|
|
copy_setports ns3/named.conf.in ns3/named.conf
|
|
|
|
|
|
|
|
|
|
copy_setports ns4/named1.conf.in ns4/named.conf
|
|
|
|
|
copy_setports ns5/named1.conf.in ns5/named.conf
|
|
|
|
|
|
|
|
|
|
copy_setports ns6/named.conf.in ns6/named.conf
|
|
|
|
|
copy_setports ns7/named.conf.in ns7/named.conf
|
|
|
|
|
|
|
|
|
|
cd ns1
|
|
|
|
|
$SHELL sign.sh
|
2000-05-15 18:53:15 -04:00
|
|
|
|
2000-05-18 18:49:29 -04:00
|
|
|
echo "a.bogus.example. A 10.0.0.22" >>../ns3/bogus.example.db.signed
|
2014-05-30 01:22:53 -04:00
|
|
|
echo "b.bogus.example. A 10.0.0.23" >>../ns3/bogus.example.db.signed
|
2014-06-18 19:47:22 -04:00
|
|
|
echo "c.bogus.example. A 10.0.0.23" >>../ns3/bogus.example.db.signed
|
2000-06-07 21:58:04 -04:00
|
|
|
|
2018-02-20 18:43:27 -05:00
|
|
|
cd ../ns3
|
|
|
|
|
cp -f siginterval1.conf siginterval.conf
|
|
|
|
|
|
|
|
|
|
cd ../ns5
|
|
|
|
|
cp -f trusted.conf.bad trusted.conf
|
|
|
|
|
$SHELL sign.sh
|