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// NS2
15
16acl rfc1918 { 10/8; 192.168/16; 172.16/12; };
17
18options {
19	query-source address 10.53.0.2;
20	notify-source 10.53.0.2;
21	transfer-source 10.53.0.2;
22	port @PORT@;
23	pid-file "named.pid";
24	listen-on { 10.53.0.2; };
25	listen-on-v6 { none; };
26	recursion yes;
27	notify yes;
28	dnssec-validation yes;
29
30	dns64 2001:aaaa::/96 {
31		clients { 10.53.0.2; };
32		mapped { !rfc1918; any; };
33		exclude { 2001:eeee::/32; 64:FF9B::/96; ::ffff:0000:0000/96; };
34		suffix ::;
35	};
36
37	dns64 64:FF9B::/96 {
38		clients { 10.53.0.1; };
39		mapped { !192.228.79.201; !rfc1918; any; };
40		exclude { 64:FF9B::/96; ::ffff:0000:0000/96; };
41		suffix ::;
42	};
43
44	dns64 2001:bbbb::/96 {
45		clients { 10.53.0.4; };
46		mapped { !rfc1918; any; };
47		suffix ::;
48	};
49
50	dns64-server "dns64.example.net.";
51	dns64-contact "hostmaster.example.net.";
52	dns64 2001:32::/32 { clients { 10.53.0.6; }; };
53	dns64 2001:40::/40 { clients { 10.53.0.6; }; };
54	dns64 2001:48::/48 { clients { 10.53.0.6; }; };
55	dns64 2001:56::/56 { clients { 10.53.0.6; }; };
56	dns64 2001:64::/64 { clients { 10.53.0.6; }; };
57
58	dns64 2001:96::/96 { clients { 10.53.0.7; }; };
59
60	response-policy { zone "rpz"; };
61};
62
63zone "." {
64	type hint;
65	file "../../_common/root.hint";
66};
67
68zone "rpz" {
69	type primary;
70	file "rpz.db";
71};
72