1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12options { 13 query-source address 10.53.0.6; 14 notify-source 10.53.0.6; 15 transfer-source 10.53.0.6; 16 port @PORT@; 17 pid-file "named.pid"; 18 statistics-file "named.stats"; 19 session-keyfile "session.key"; 20 listen-on { 10.53.0.6; }; 21 listen-on-v6 { none; }; 22 forward only; 23 forwarders { 10.53.0.3; }; 24 minimal-responses no; 25 recursion yes; 26 dnssec-validation yes; 27 qname-minimization disabled; 28 29 response-policy { 30 zone "policy1" min-update-interval 0; 31 } qname-wait-recurse yes 32 // add-soa yes # leave add-soa as default for unset test 33 nsip-enable yes 34 nsdname-enable yes; 35 36 include "../dnsrps-slave.conf"; 37}; 38 39logging { category rpz { default_debug; }; }; 40 41key rndc_key { 42 secret "1234abcd8765"; 43 algorithm hmac-sha256; 44}; 45 46controls { 47 inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 48}; 49 50include "../trusted.conf"; 51 52zone "policy1" { 53 type slave; 54 masters { 10.53.0.5; }; 55 file "empty.db"; 56 also-notify { 10.53.0.3 port @EXTRAPORT1@; }; 57 notify-delay 0; 58 allow-transfer { any; }; 59}; 60