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