xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/views/ns3/named2.conf.in (revision 867d70fc718005c0918b8b8b2f9d7f2d52d0a0db)
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	query-source address 10.53.0.3;
16	notify-source 10.53.0.3;
17	transfer-source 10.53.0.3;
18	port @PORT@;
19	directory ".";
20	pid-file "named.pid";
21	listen-on { 10.53.0.3; };
22	listen-on-v6 { none; };
23	recursion yes;
24	notify yes;
25};
26
27key rndc_key {
28	secret "1234abcd8765";
29	algorithm hmac-sha256;
30};
31
32controls {
33	inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
34};
35
36zone "." {
37	type hint;
38	file "../../common/root.hint";
39};
40
41zone "example" {
42	type secondary;
43	primaries { 10.53.0.2; };
44	file "internal.bk";
45};
46
47zone "child.clone" {
48	type primary;
49	file "child.clone.db";
50};
51