xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/resolver/ns6/named.conf.in (revision 9689912e6b171cbda866ec33f15ae94a04e2c02d)
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	max-udp-size 4096;
29	responselog no;
30};
31
32zone "." {
33	type primary;
34	file "root.db";
35};
36
37zone "example.net" {
38	type primary;
39	file "example.net.db.signed";
40	allow-update { any; };
41};
42
43zone "ds.example.net" {
44	type primary;
45	file "ds.example.net.db.signed";
46	allow-update { any; };
47};
48
49zone "to-be-removed.tld" {
50	type primary;
51	file "to-be-removed.tld.db";
52	allow-update { any; };
53};
54
55zone "broken" {
56	type primary;
57	file "broken.db";
58	allow-update { any; };
59};
60
61zone "redirect.com" {
62	type primary;
63	file "redirect.com.db";
64};
65
66zone "tld1" {
67	type primary;
68	file "tld1.db";
69};
70
71zone "no-edns-version.tld" {
72	type primary;
73	file "no-edns-version.tld.db";
74};
75
76zone "fetch.tld" {
77	type primary;
78	file "fetch.tld.db";
79};
80
81zone "targetns" {
82	type primary;
83	file "targetns.db";
84};
85
86key rndc_key {
87        secret "1234abcd8765";
88        algorithm @DEFAULT_HMAC@;
89};
90
91controls {
92        inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
93};
94