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.1; 14 notify-source 10.53.0.1; 15 transfer-source 10.53.0.1; 16 port @PORT@; 17 session-keyfile "session.key"; 18 pid-file "named.pid"; 19 listen-on { 10.53.0.1; }; 20 listen-on-v6 { none; }; 21 recursion no; 22 dnssec-validation no; 23 querylog yes; 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm hmac-sha256; 29}; 30 31controls { 32 inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35zone "." { 36 type master; 37 file "root.db"; 38}; 39 40zone "test.example.org" { 41 type master; 42 file "example.db"; 43}; 44 45zone "l0" { 46 type master; 47 file "db.l0"; 48}; 49 50zone "l1.l0" { 51 type master; 52 file "db.l1.l0"; 53}; 54 55zone "l2.l1.l0" { 56 type master; 57 file "does-not-exist"; 58}; 59 60zone "test1.example.net" { 61 type master; 62 file "test1.example.net.db"; 63}; 64 65zone "test2.example.net" { 66 type master; 67 file "test2.example.net.db"; 68}; 69 70zone "example.com" { 71 type master; 72 file "example.com.db"; 73}; 74