xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/allow-query/ns2/named57.conf.in (revision ae082add65442546470c0ba499a860ee89eed305)
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.2; };
18	listen-on-v6 { none; };
19	recursion no;
20};
21
22include "controls.conf";
23
24view "internal" {
25	allow-query-on { any; };
26
27	zone "." {
28		type hint;
29		file "../../common/root.hint";
30	};
31
32	zone "normal.example" {
33		type primary;
34		file "generic.db";
35	};
36
37	zone "aclnotallow.example" {
38		type primary;
39		file "generic.db";
40		allow-query-on { none; };
41	};
42};
43