2010-12-16 04:51:30 -05:00
|
|
|
#!/bin/sh
|
2021-06-03 02:37:05 -04:00
|
|
|
|
2018-02-22 18:10:37 -05:00
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
2012-06-28 21:39:47 -04:00
|
|
|
#
|
2010-12-16 04:51:30 -05:00
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
2021-06-03 02:37:05 -04:00
|
|
|
#
|
2010-12-16 04:51:30 -05: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 https://mozilla.org/MPL/2.0/.
|
2018-02-23 03:53:12 -05:00
|
|
|
#
|
2010-12-16 04:51:30 -05:00
|
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
|
|
|
# information regarding copyright ownership.
|
|
|
|
|
|
2020-07-21 06:12:59 -04:00
|
|
|
. ../conf.sh
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2018-02-20 18:43:27 -05:00
|
|
|
copy_setports ns1/named.conf.in ns1/named.conf
|
|
|
|
|
copy_setports ns2/named.conf.in tmp
|
|
|
|
|
sed 's/SERVER_CONFIG_PLACEHOLDER/server-names { "ns.example.net"; };/' tmp >ns2/named.conf
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2018-02-20 18:43:27 -05:00
|
|
|
copy_setports ns3/named.conf.in tmp
|
2021-10-05 04:41:27 -04:00
|
|
|
sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type primary; file "example.db.signed"; };/' tmp >ns3/named.conf
|
2018-02-20 18:43:27 -05:00
|
|
|
|
|
|
|
|
copy_setports ns4/named.conf.in ns4/named.conf
|
2010-12-16 04:51:30 -05:00
|
|
|
|
2014-05-07 01:06:04 -04:00
|
|
|
cd ns3 && $SHELL -e sign.sh
|