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 12// NS4 13 14options { 15 query-source address 10.53.0.4 dscp 1; 16 notify-source 10.53.0.4 dscp 2; 17 transfer-source 10.53.0.4 dscp 3; 18 port @PORT@; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.4; }; 21 listen-on-v6 { none; }; 22 recursion yes; 23 dnssec-validation yes; 24 dnssec-must-be-secure mustbesecure.example yes; 25 minimal-responses no; 26 27 nta-lifetime 12s; 28 nta-recheck 9s; 29 30 validate-except { corp; }; 31 32 # Note: We only reference the bind.keys file here to confirm that it 33 # is *not* being used. It contains the real root key, and we're 34 # using a local toy root zone for the tests, so it wouldn't work. 35 # But since dnssec-validation is set to "yes" not "auto", that 36 # won't matter. 37 bindkeys-file "../../../../../bind.keys"; 38}; 39 40key rndc_key { 41 secret "1234abcd8765"; 42 algorithm hmac-sha256; 43}; 44 45controls { 46 inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 47}; 48 49zone "." { 50 type hint; 51 file "../../common/root.hint"; 52}; 53 54zone "corp" { 55 type static-stub; 56 server-addresses { 10.53.0.2; }; 57}; 58 59include "trusted.conf"; 60