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