xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/allow-query/ns2/named11.conf.in (revision 2dd295436a0082eb4f8d294f4aa73c223413d0f2)
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
14key one {
15	algorithm hmac-md5;
16	secret "1234abcd8765";
17};
18
19key two {
20	algorithm hmac-md5;
21	secret "1234efgh8765";
22};
23
24
25options {
26	port @PORT@;
27	pid-file "named.pid";
28	listen-on { 10.53.0.2; };
29	listen-on-v6 { none; };
30	recursion no;
31	allow-query { key one; };
32};
33
34include "controls.conf";
35
36zone "." {
37	type hint;
38	file "../../common/root.hint";
39};
40
41zone "normal.example" {
42	type primary;
43	file "generic.db";
44};
45