1 1.1 christos /* 2 1.1 christos * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 1.1 christos * 4 1.1 christos * SPDX-License-Identifier: MPL-2.0 5 1.1 christos * 6 1.1 christos * This Source Code Form is subject to the terms of the Mozilla Public 7 1.1 christos * License, v. 2.0. If a copy of the MPL was not distributed with this 8 1.1 christos * file, you can obtain one at https://mozilla.org/MPL/2.0/. 9 1.1 christos * 10 1.1 christos * See the COPYRIGHT file distributed with this work for additional 11 1.1 christos * information regarding copyright ownership. 12 1.1 christos */ 13 1.1 christos 14 1.1 christos options { 15 1.1 christos query-source address 10.53.0.1; 16 1.1 christos notify-source 10.53.0.1; 17 1.1 christos transfer-source 10.53.0.1; 18 1.1 christos port @PORT@; 19 1.1 christos session-keyfile "session.key"; 20 1.1 christos pid-file "named.pid"; 21 1.1 christos listen-on { 10.53.0.1; }; 22 1.1 christos listen-on-v6 { none; }; 23 1.1 christos recursion no; 24 1.1 christos dnssec-validation no; 25 1.1 christos querylog yes; 26 1.1 christos }; 27 1.1 christos 28 1.1 christos key rndc_key { 29 1.1 christos secret "1234abcd8765"; 30 1.1 christos algorithm @DEFAULT_HMAC@; 31 1.1 christos }; 32 1.1 christos 33 1.1 christos controls { 34 1.1 christos inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 35 1.1 christos }; 36 1.1 christos 37 1.1 christos zone "." { 38 1.1 christos type primary; 39 1.1 christos file "root.db"; 40 1.1 christos }; 41 1.1 christos 42 1.1 christos zone "test.example.org" { 43 1.1 christos type primary; 44 1.1 christos file "example.db"; 45 1.1 christos }; 46 1.1 christos 47 1.1 christos zone "l0" { 48 1.1 christos type primary; 49 1.1 christos file "db.l0"; 50 1.1 christos }; 51 1.1 christos 52 1.1 christos zone "l1.l0" { 53 1.1 christos type primary; 54 1.1 christos file "db.l1.l0"; 55 1.1 christos }; 56 1.1 christos 57 1.1 christos zone "l2.l1.l0" { 58 1.1 christos type primary; 59 1.1 christos file "does-not-exist"; 60 1.1 christos }; 61 1.1 christos 62 1.1 christos zone "test1.example.net" { 63 1.1 christos type primary; 64 1.1 christos file "test1.example.net.db"; 65 1.1 christos }; 66 1.1 christos 67 1.1 christos zone "test2.example.net" { 68 1.1 christos type primary; 69 1.1 christos file "test2.example.net.db"; 70 1.1 christos }; 71 1.1 christos 72 1.1 christos zone "example.com" { 73 1.1 christos type primary; 74 1.1 christos file "example.com.db"; 75 1.1 christos }; 76