xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/resolver/ns6/named.conf.in (revision 7bdf38e5b7a28439665f2fdeff81e36913eef7dd)
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// NS6
15
16options {
17	query-source address 10.53.0.6;
18	notify-source 10.53.0.6;
19	transfer-source 10.53.0.6;
20	port @PORT@;
21	pid-file "named.pid";
22	listen-on { 10.53.0.6; };
23	listen-on-v6 { fd92:7065:b8e:ffff::6; };
24	recursion no;
25	dnssec-validation no;
26	querylog yes;
27	statistics-file "named.stats";
28	/*
29	 * test that named loads with root-delegation-only that
30	 * has a exclude list.
31	 */
32	root-delegation-only exclude { "a"; };
33	max-udp-size 4096;
34};
35
36zone "." {
37	type primary;
38	file "root.db";
39};
40
41zone "example.net" {
42	type primary;
43	file "example.net.db.signed";
44	allow-update { any; };
45};
46
47zone "ds.example.net" {
48	type primary;
49	file "ds.example.net.db.signed";
50	allow-update { any; };
51};
52
53zone "to-be-removed.tld" {
54	type primary;
55	file "to-be-removed.tld.db";
56	allow-update { any; };
57};
58
59zone "broken" {
60	type primary;
61	file "broken.db";
62	allow-update { any; };
63};
64
65zone "redirect.com" {
66	type primary;
67	file "redirect.com.db";
68};
69
70zone "tld1" {
71	type primary;
72	file "tld1.db";
73};
74
75zone "no-edns-version.tld" {
76	type primary;
77	file "no-edns-version.tld.db";
78};
79
80zone "delegation-only" {
81	type primary;
82	file "delegation-only.db";
83};
84
85zone "fetch.tld" {
86	type primary;
87	file "fetch.tld.db";
88};
89
90zone "targetns" {
91	type primary;
92	file "targetns.db";
93};
94
95key rndc_key {
96        secret "1234abcd8765";
97        algorithm @DEFAULT_HMAC@;
98};
99
100controls {
101        inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
102};
103