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