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