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// NS4 15 16options { 17 query-source address 10.53.0.4; 18 notify-source 10.53.0.4; 19 transfer-source 10.53.0.4; 20 port @PORT@; 21 pid-file "named.pid"; 22 listen-on { 10.53.0.4; }; 23 listen-on-v6 { none; }; 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm hmac-sha256; 29}; 30 31controls { 32 inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35key auth { 36 secret "1234abcd8765"; 37 algorithm hmac-sha256; 38}; 39 40include "trusted.conf"; 41 42view rec { 43 match-recursive-only yes; 44 recursion yes; 45 dnssec-validation yes; 46 dnssec-accept-expired yes; 47 minimal-responses no; 48 49 zone "." { 50 type hint; 51 file "../../common/root.hint"; 52 }; 53 54 zone secure.example { 55 type static-stub; 56 server-addresses { 10.53.0.4; }; 57 }; 58 59 zone insecure.secure.example { 60 type static-stub; 61 server-addresses { 10.53.0.4; }; 62 }; 63}; 64 65view auth { 66 recursion no; 67 allow-recursion { none; }; 68 69 zone secure.example { 70 type secondary; 71 primaries { 10.53.0.3; }; 72 }; 73 74 zone insecure.secure.example { 75 type secondary; 76 primaries { 10.53.0.2; }; 77 }; 78}; 79