xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/views/ns2/named1.conf.in (revision 2718af68c3efc72c9769069b5c7f9ed36f6b9def)
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
12options {
13	query-source address 10.53.0.2;
14	notify-source 10.53.0.2;
15	transfer-source 10.53.0.2;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	recursion yes;
21	notify yes;
22};
23
24key rndc_key {
25	secret "1234abcd8765";
26	algorithm hmac-sha256;
27};
28
29controls {
30	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
31};
32
33
34zone "." {
35	type hint;
36	file "../../common/root.hint";
37};
38
39zone "example" {
40	type primary;
41	file "example.db";
42	allow-update { any; };
43};
44
45zone "inline" {
46	type primary;
47	file "external/inline.db";
48	key-directory "external";
49	auto-dnssec maintain;
50	inline-signing yes;
51};
52