| 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 |
// NS7 |
| 15 |
|
| 16 |
options { |
| 17 |
query-source address 10.53.0.7; |
| 18 |
notify-source 10.53.0.7; |
| 19 |
transfer-source 10.53.0.7; |
| 20 |
port @PORT@; |
| 21 |
pid-file "named.pid"; |
| 22 |
listen-on { 10.53.0.7; }; |
| 23 |
listen-on-v6 { fd92:7065:b8e:ffff::7; }; |
| 24 |
recursion yes; |
| 25 |
dnssec-validation no; |
| 26 |
empty-zones-enable yes; |
| 27 |
disable-empty-zone 20.172.in-addr.arpa; |
| 28 |
/* |
| 29 |
* check prefetch disabled |
| 30 |
* check zero ttl not returned |
| 31 |
*/ |
| 32 |
prefetch 0; |
| 33 |
querylog yes; |
| 34 |
edns-udp-size 4096; |
| 35 |
}; |
| 36 |
|
| 37 |
|
| 38 |
key rndc_key { |
| 39 |
secret "1234abcd8765"; |
| 40 |
algorithm @DEFAULT_HMAC@; |
| 41 |
}; |
| 42 |
|
| 43 |
controls { |
| 44 |
inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; |
| 45 |
}; |
| 46 |
|
| 47 |
zone "." { |
| 48 |
type hint; |
| 49 |
file "root.hint"; |
| 50 |
}; |
| 51 |
|
| 52 |
zone "server" { |
| 53 |
type primary; |
| 54 |
file "server.db"; |
| 55 |
allow-update { any; }; |
| 56 |
}; |
| 57 |
|
| 58 |
zone "edns-version.tld" { |
| 59 |
type primary; |
| 60 |
file "edns-version.tld.db"; |
| 61 |
}; |
| 62 |
|
| 63 |
zone "all-cnames" { |
| 64 |
type primary; |
| 65 |
file "all-cnames.db"; |
| 66 |
}; |
| 67 |
|
| 68 |
zone "tld2" { |
| 69 |
type primary; |
| 70 |
file "tld2.db"; |
| 71 |
}; |
| 72 |
|
| 73 |
zone "sub.tld1" { |
| 74 |
type primary; |
| 75 |
file "sub.tld1.db"; |
| 76 |
}; |