xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/dispatch/ns2/named.conf.in (revision 22ebeae4b2252475e0ebe332f69734639cb946ea)
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 rndc_key {
15	secret "1234abcd8765";
16	algorithm @DEFAULT_HMAC@;
17};
18
19controls {
20	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
21};
22
23options {
24	port @PORT@;
25	pid-file "named.pid";
26
27	listen-on { 10.53.0.2; };
28	query-source address 10.53.0.2;
29	notify-source 10.53.0.2;
30	transfer-source 10.53.0.2;
31
32	listen-on-v6 { fd92:7065:b8e:ffff::2; };
33	query-source-v6 address fd92:7065:b8e:ffff::2;
34	notify-source-v6 fd92:7065:b8e:ffff::2;
35	transfer-source-v6 fd92:7065:b8e:ffff::2;
36
37	recursion yes;
38	servfail-ttl 0;
39	dnssec-validation no;
40};
41
42zone "." {
43	type hint;
44	file "../../_common/root.hint";
45};
46
47zone "example" {
48	type primary;
49	file "example.db";
50};
51