xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/allow-query/ns2/named32.conf.in (revision d90047b5d07facf36e6c01dcc0bded8997ce9cc2)
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
17options {
18	port @PORT@;
19	pid-file "named.pid";
20	listen-on { 10.53.0.2; };
21	listen-on-v6 { none; };
22	recursion no;
23};
24
25include "controls.conf";
26
27view "internal" {
28
29	allow-query {! key one; };
30
31	zone "." {
32		type hint;
33		file "../../common/root.hint";
34	};
35
36	zone "normal.example" {
37		type master;
38		file "generic.db";
39	};
40};
41