xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rndc/ns3/named.conf.in (revision ae87de8892f277bece3527c15b186ebcfa188227)
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	listen-on { 10.53.0.3; };
18	listen-on-v6 { none; };
19};
20
21key rndc_key {
22	secret "1234abcd8765";
23	algorithm hmac-sha256;
24};
25
26key secondkey {
27	secret "abcd1234abcd8765";
28	algorithm hmac-sha256;
29};
30
31controls {
32	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
33};
34
35view all {
36	match-clients { any; };
37
38	recursion no;
39
40	zone "." {
41		type hint;
42		file "../../common/root.hint";
43	};
44};
45
46view none {
47	match-clients { none; };
48};
49