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