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 14options { 15 query-source address 10.53.0.6; 16 notify-source 10.53.0.6; 17 transfer-source 10.53.0.6; 18 port @PORT@; 19 pid-file "named.pid"; 20 statistics-file "named.stats"; 21 session-keyfile "session.key"; 22 listen-on { 10.53.0.6; }; 23 listen-on-v6 { none; }; 24 forward only; 25 forwarders { 10.53.0.3; }; 26 minimal-responses no; 27 recursion yes; 28 dnssec-validation yes; 29 qname-minimization disabled; 30 31 response-policy { 32 zone "policy1" min-update-interval 0; 33 } qname-wait-recurse yes 34 // add-soa yes # leave add-soa as default for unset test 35 nsip-enable yes 36 nsdname-enable yes; 37 38 include "../dnsrps-slave.conf"; 39}; 40 41logging { category rpz { default_debug; }; }; 42 43key rndc_key { 44 secret "1234abcd8765"; 45 algorithm hmac-sha256; 46}; 47 48controls { 49 inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 50}; 51 52include "../trusted.conf"; 53 54zone "policy1" { 55 type secondary; 56 primaries { 10.53.0.5; }; 57 file "empty.db"; 58 also-notify { 10.53.0.3 port @EXTRAPORT1@; }; 59 notify-delay 0; 60 allow-transfer { any; }; 61}; 62