xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/autosign/ns2/named.conf.in (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
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// NS2
13
14options {
15	query-source address 10.53.0.2;
16	notify-source 10.53.0.2;
17	transfer-source 10.53.0.2;
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.2; };
21	listen-on-v6 { none; };
22	recursion no;
23	notify yes;
24	dnssec-validation yes;
25	dnssec-loadkeys-interval 30;
26};
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33controls {
34	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
35};
36
37zone "." {
38	type hint;
39	file "../../common/root.hint";
40};
41
42zone "example" {
43	type primary;
44	file "example.db";
45	allow-query { any; };
46	allow-transfer { any; };
47	allow-update { any; };
48	auto-dnssec maintain;
49};
50
51zone "bar" {
52	type primary;
53	file "bar.db";
54	allow-query { any; };
55	allow-transfer { any; };
56	allow-update { any; };
57	auto-dnssec maintain;
58	dnssec-dnskey-kskonly yes;
59};
60
61zone "private.secure.example" {
62	type primary;
63	file "private.secure.example.db";
64	allow-query { any; };
65	allow-transfer { any; };
66	allow-update { any; };
67	auto-dnssec maintain;
68};
69
70zone "insecure.secure.example" {
71	type primary;
72	file "insecure.secure.example.db";
73	allow-query { any; };
74	allow-transfer { any; };
75	allow-update { any; };
76	auto-dnssec maintain;
77};
78
79zone "child.nsec3.example" {
80	type primary;
81	file "child.nsec3.example.db";
82	allow-query { any; };
83	allow-transfer { any; };
84	allow-update { any; };
85	auto-dnssec maintain;
86};
87
88zone "child.optout.example" {
89	type primary;
90	file "child.optout.example.db";
91	allow-query { any; };
92	allow-transfer { any; };
93	allow-update { any; };
94	auto-dnssec maintain;
95};
96
97include "trusted.conf";
98