summaryrefslogtreecommitdiffstats
path: root/bin/tests/system/inline/ns3/named.conf.in
blob: dc14fe9fe6a8395c3e95f0cf5ebcbc085738187a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/*
 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
 *
 * SPDX-License-Identifier: MPL-2.0
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0.  If a copy of the MPL was not distributed with this
 * file, you can obtain one at https://mozilla.org/MPL/2.0/.
 *
 * See the COPYRIGHT file distributed with this work for additional
 * information regarding copyright ownership.
 */

// NS3

include "../../common/rndc.key";

controls {
	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};

options {
	query-source address 10.53.0.3;
	notify-source 10.53.0.3;
	transfer-source 10.53.0.3;
	port @PORT@;
	pid-file "named.pid";
	listen-on { 10.53.0.3; };
	listen-on-v6 { none; };
	recursion no;
	notify yes;
	try-tcp-refresh no;
	notify-delay 0;
	allow-new-zones yes;
};

zone "bits" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	allow-update-forwarding { any; };
	file "bits.bk";
	sig-signing-signatures 1;	// force incremental processing
};

server 10.53.0.4 { request-ixfr no; };

zone "noixfr" {
	type secondary;
	primaries { 10.53.0.4; };
	inline-signing yes;
	auto-dnssec maintain;
	allow-update-forwarding { any; };
	file "noixfr.bk";
};

zone "master" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	file "master.db";
	notify explicit;
	also-notify {
		10.53.0.3;
	};
};

zone "dynamic" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { any; };
	file "dynamic.db";
};

zone "updated" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { none; };
	file "updated.db";
};

zone "expired" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { any; };
	file "expired.db";
};

zone "retransfer" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	file "retransfer.bk";
};

zone "nsec3" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { any; };
	file "nsec3.db";
};

zone "externalkey" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { any; };
	file "externalkey.db";
};

zone "retransfer3" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	file "retransfer3.bk";
};

zone "inactiveksk" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	dnssec-dnskey-kskonly yes;
	file "inactiveksk.bk";
};

zone "inactivezsk" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	file "inactivezsk.bk";
};

zone "nokeys" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	file "nokeys.bk";
};

zone "delayedkeys" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	file "delayedkeys.db";
};

zone "removedkeys-primary" {
	type primary;
	inline-signing yes;
	auto-dnssec maintain;
	allow-update { any; };
	also-notify { 10.53.0.2; };
	file "removedkeys-primary.db";
};

zone "removedkeys-secondary" {
	type secondary;
	primaries { 10.53.0.2; };
	inline-signing yes;
	auto-dnssec maintain;
	file "removedkeys-secondary.bk";
};

zone "unsupported" {
	type primary;
	file "unsupported.db";
	inline-signing yes;
	auto-dnssec maintain;
};