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.3; 14 notify-source 10.53.0.3; 15 transfer-source 10.53.0.3; 16 port @PORT@; 17 pid-file "named.pid"; 18 listen-on { 10.53.0.3; }; 19 listen-on-v6 { none; }; 20 recursion yes; 21 notify yes; 22}; 23 24key rndc_key { 25 secret "1234abcd8765"; 26 algorithm hmac-sha256; 27}; 28 29controls { 30 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 31}; 32 33key tsigzone. { 34 algorithm hmac-md5; 35 secret "1234abcd8765"; 36}; 37 38zone "." { 39 type hint; 40 file "../../common/root.hint"; 41}; 42 43zone "example" { 44 type secondary; 45 primaries { 10.53.0.2; }; 46 file "example.bk"; 47}; 48 49zone "primary" { 50 type secondary; 51 primaries { 10.53.0.6; }; 52 file "primary.bk"; 53}; 54 55server 10.53.0.2 { 56 keys { tsigzone.; }; 57}; 58 59zone "tsigzone" { 60 type secondary; 61 primaries { 10.53.0.2; }; 62 file "tsigzone.bk"; 63 allow-transfer { key tsigzone.; }; 64}; 65 66zone "mapped" { 67 type secondary; 68 primaries { 10.53.0.2; }; 69 masterfile-format map; 70 file "mapped.bk"; 71}; 72 73zone "xfer-stats" { 74 type secondary; 75 primaries { 10.53.0.1; }; 76 file "xfer-stats.bk"; 77}; 78