xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rndc/ns2/named.conf.in (revision 528ce0b18ee40383f14928382d06afd754b01561)
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
14options {
15	port @PORT@;
16	pid-file "named.pid";
17	session-keyfile "session.key";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	recursion no;
21};
22
23key rndc_key {
24	secret "1234abcd8765";
25	algorithm hmac-sha256;
26};
27
28key secondkey {
29	secret "abcd1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33controls {
34	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; secondkey; };
35};
36
37
38zone "." {
39	type hint;
40	file "../../common/root.hint";
41};
42
43zone "nil" {
44	type primary;
45	update-policy local;
46	file "nil.db";
47	ixfr-from-differences yes;
48};
49
50zone "other" {
51	type primary;
52	update-policy local;
53	file "other.db";
54};
55
56zone "static" {
57	type primary;
58	file "static.db";
59};
60
61zone "incl" {
62	type primary;
63	file "incl.db";
64};
65