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
12// NS1
13
14include "../../common/rndc.key";
15
16controls {
17        inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
18};
19
20acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
21
22options {
23	query-source address 10.53.0.1;
24	notify-source 10.53.0.1;
25	transfer-source 10.53.0.1;
26	port @PORT@;
27	pid-file "named.pid";
28	listen-on { 10.53.0.1; };
29	listen-on-v6 { none; };
30	allow-recursion { 10.53.0.1; };
31	notify yes;
32	dnssec-validation yes;
33
34	dns64 2001:bbbb::/96 {
35		clients { any; };
36		mapped { !rfc1918; any; };
37		exclude { 2001:eeee::/32; 64:FF9B::/96; ::ffff:0000:0000/96; };
38		suffix ::;
39		recursive-only yes;
40	};
41	dns64 2001:aaaa::/64 {
42		mapped { !rfc1918; any; };
43	};
44};
45
46zone "." {
47	type primary;
48	file "root.db";
49};
50
51zone "example" {
52	type primary;
53	file "example.db";
54};
55
56zone "signed" {
57	type primary;
58	file "signed.db.signed";
59};
60
61zone "ipv4only.arpa" {
62	type master;
63	file "ipv4only.arpa.db";
64};
65