2010-12-16 04:51:30 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
#
|
2016-06-27 00:56:38 -04:00
|
|
|
# Copyright (C) 2010, 2012, 2014, 2016 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/.
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2014-01-20 19:08:09 -05:00
|
|
|
SYSTEMTESTTOP=..
|
|
|
|
|
. $SYSTEMTESTTOP/conf.sh
|
2010-12-16 04:51:30 -05:00
|
|
|
|
|
|
|
|
sed 's/SERVER_CONFIG_PLACEHOLDER/server-names { "ns.example.net"; };/' ns2/named.conf.in > ns2/named.conf
|
|
|
|
|
|
2010-12-16 19:57:39 -05:00
|
|
|
sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type master; file "example.db.signed"; };/' ns3/named.conf.in > ns3/named.conf
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2014-04-09 23:29:52 -04:00
|
|
|
test -r $RANDFILE || $GENRANDOM 400 $RANDFILE
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2014-05-07 01:06:04 -04:00
|
|
|
cd ns3 && $SHELL -e sign.sh
|