1 /* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * SPDX-License-Identifier: MPL-2.0 5 * 6 * This Source Code Form is subject to the terms of the Mozilla Public 7 * License, v. 2.0. If a copy of the MPL was not distributed with this 8 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 * 10 * See the COPYRIGHT file distributed with this work for additional 11 * information regarding copyright ownership. 12 */ 13 14 {% if FEATURE_FIPS_DH == "1" %} 15 include "named-tls.conf"; 16 {% endif %} 17 18 options { 19 query-source address 10.53.0.2; 20 notify-source 10.53.0.2; 21 notify-source-v6 fd92:7065:b8e:ffff::2; 22 transfer-source 10.53.0.2; 23 port @PORT@; 24 pid-file "named.pid"; 25 listen-on { 10.53.0.2; }; 26 listen-on-v6 { none; }; 27 allow-transfer { any; }; 28 recursion no; 29 notify yes; 30 startup-notify-rate 5; 31 dnssec-validation no; 32 33 {% if FEATURE_FIPS_DH == "1" %} 34 tls-port @TLSPORT@; 35 listen-on tls ephemeral { 10.53.0.2; }; 36 listen-on port @EXTRAPORT1@ tls tls-forward-secrecy { 10.53.0.2; }; 37 listen-on port @EXTRAPORT3@ tls tls-forward-secrecy-mutual-tls { 10.53.0.2; }; 38 listen-on port @EXTRAPORT4@ tls tls-expired { 10.53.0.2; }; 39 {% endif %} 40 41 }; 42 43 key rndc_key { 44 secret "1234abcd8765"; 45 algorithm @DEFAULT_HMAC@; 46 }; 47 48 controls { 49 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 50 }; 51 52 zone "." { 53 type hint; 54 file "../../_common/root.hint"; 55 }; 56 57 zone "example" { 58 type primary; 59 file "example.db"; 60 // Check that named can handle a empty also-notify. 61 also-notify { /* empty */ }; 62 }; 63 64 remote-servers noport { 10.53.0.4; }; 65 remote-servers x21 port @EXTRAPORT1@ { noport; }; 66 67 zone x1 { 68 type primary; 69 file "generic.db"; 70 also-notify { 10.53.0.3; }; 71 notify-source 10.53.0.2 port @EXTRAPORT2@; 72 notify primary-only; 73 }; 74 zone x2 { 75 type primary; 76 file "generic.db"; 77 also-notify { 10.53.0.3; }; 78 notify master-only; # test old syntax 79 }; 80 81 zone x3 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 82 zone x4 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 83 zone x5 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 84 zone x6 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 85 zone x7 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 86 zone x8 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 87 zone x9 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 88 zone x10 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 89 zone x11 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 90 zone x12 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 91 zone x13 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 92 zone x14 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 93 zone x15 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 94 zone x16 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 95 zone x17 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 96 zone x18 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 97 zone x19 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 98 zone x20 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; }; 99 zone x21 { type primary; file "x21.db"; allow-update { any; }; also-notify { x21; }; }; 100