* information regarding copyright ownership.
*/
+{% if FEATURE_FIPS_DH == "1" %}
include "named-tls.conf";
+{% endif %}
options {
query-source address 10.53.0.2;
port @PORT@;
pid-file "named.pid";
listen-on { 10.53.0.2; };
- include "options-tls.conf";
listen-on-v6 { fd92:7065:b8e:ffff::2; };
recursion no;
dnssec-validation no;
+
+{% if FEATURE_FIPS_DH == "1" %}
+ tls-port @TLSPORT@;
+ listen-on tls ephemeral { 10.53.0.2; };
+ listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.2; };
+ listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { 10.53.0.2; };
+ listen-on port @EXTRAPORT3@ tls tls-expired { 10.53.0.2; };
+{% endif %}
+
};
zone "." {
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * SPDX-License-Identifier: MPL-2.0
- *
- * 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/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
- tls-port @TLSPORT@;
- listen-on tls ephemeral { 10.53.0.2; };
- listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.2; };
- listen-on port @EXTRAPORT2@ tls tls-forward-secrecy-mutual-tls { 10.53.0.2; };
- listen-on port @EXTRAPORT3@ tls tls-expired { 10.53.0.2; };
zone "." {
type hint;
- file "root.db";
+ file "root2.db";
};
* information regarding copyright ownership.
*/
+{% if FEATURE_FIPS_DH == "1" %}
include "named-tls.conf";
+{% endif %}
options {
query-source address 10.53.0.4;
notify-source 10.53.0.4;
transfer-source 10.53.0.4;
port @PORT@;
- include "options-tls.conf";
pid-file "named.pid";
listen-on { 10.53.0.4; };
listen-on-v6 { none; };
recursion yes;
dnssec-validation no;
minimal-responses yes;
-};
+{% if FEATURE_FIPS_DH == "1" %}
+ tls-port @TLSPORT@;
+{% endif %}
+
+};
statistics-channels { inet 10.53.0.4 port @EXTRAPORT1@ allow { localhost; }; };
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * SPDX-License-Identifier: MPL-2.0
- *
- * 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/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
- tls-port @TLSPORT@;
. ../conf.sh
-copy_setports ns1/named.conf.in ns1/named.conf
-
-if $FEATURETEST --have-fips-dh; then
- copy_setports ns2/named-tls.conf.in ns2/named-tls.conf
- copy_setports ns2/options-tls.conf.in ns2/options-tls.conf
- copy_setports ns2/named.conf.in ns2/named.conf
-else
- cp /dev/null ns2/named-tls.conf
- cp /dev/null ns2/options-tls.conf
- copy_setports ns2/named.conf.in ns2/named.conf
-fi
-
-copy_setports ns3/named1.conf.in ns3/named.conf
-
-if $FEATURETEST --have-fips-dh; then
- copy_setports ns4/named-tls.conf.in ns4/named-tls.conf
- copy_setports ns4/options-tls.conf.in ns4/options-tls.conf
- copy_setports ns4/named.conf.in ns4/named.conf
-else
- cp /dev/null ns4/named-tls.conf
- cp /dev/null ns4/options-tls.conf
- copy_setports ns4/named.conf.in ns4/named.conf
-fi
-
-copy_setports ns5/named.conf.in ns5/named.conf
-copy_setports ns7/named.conf.in ns7/named.conf
-copy_setports ns8/named.conf.in ns8/named.conf
-copy_setports ns9/named1.conf.in ns9/named.conf
-copy_setports ns10/named.conf.in ns10/named.conf
-
(
cd ns1
$SHELL sign.sh
n=$((n + 1))
echo_i "checking switch from forwarding to normal resolution while chasing DS ($n)"
ret=0
-copy_setports ns3/named2.conf.in ns3/named.conf
+cp ns3/named2.conf ns3/named.conf
rndccmd 10.53.0.3 reconfig 2>&1 | sed 's/^/ns3 /' | cat_i
sleep 1
nextpart ns3/named.run >/dev/null
n=$((n + 1))
echo_i "checking the handling of hung DS fetch while chasing DS ($n)"
ret=0
-copy_setports ns3/named2.conf.in ns3/tmp
-sed 's/root.db/root2.db/' ns3/tmp >ns3/named.conf
-rm -f ns3/tmp
+cp ns3/named2.conf ns3/named.conf
rndccmd 10.53.0.3 reconfig 2>&1 | sed 's/^/ns3 /' | cat_i
rndccmd 10.53.0.3 flush 2>&1 | sed 's/^/ns3 /' | cat_i
sleep 1
echo_i "checking spoofed response scenarios with forward first zones"
run_spooftests
-copy_setports ns9/named2.conf.in ns9/named.conf
+cp ns9/named2.conf ns9/named.conf
rndccmd 10.53.0.9 reconfig 2>&1 | sed 's/^/ns3 /' | cat_i
rndccmd 10.53.0.9 flush 2>&1 | sed 's/^/ns3 /' | cat_i
sleep 1
# similar to the ones above, but not identical.
#
echo_i "rechecking spoofed response scenarios with 'forward only' set globally"
-copy_setports ns9/named3.conf.in ns9/named.conf
+cp ns9/named3.conf ns9/named.conf
rndccmd 10.53.0.9 reconfig 2>&1 | sed 's/^/ns3 /' | cat_i
rndccmd 10.53.0.9 flush 2>&1 | sed 's/^/ns3 /' | cat_i
sleep 1
# the namespace is defined by the zone content.
#
echo_i "rechecking spoofed response scenarios glue below local zone"
-copy_setports ns9/named4.conf.in ns9/named.conf
+cp ns9/named4.conf ns9/named.conf
rndccmd 10.53.0.9 reconfig 2>&1 | sed 's/^/ns3 /' | cat_i
rndccmd 10.53.0.9 flush 2>&1 | sed 's/^/ns3 /' | cat_i
sleep 1
"ns1/root.db",
"ns1/root.db.signed",
"ns2/named-tls.conf",
- "ns2/options-tls.conf",
"ns3/trusted.conf",
"ns4/named-tls.conf",
- "ns4/options-tls.conf",
"ns9/named_dump.db",
]
)