xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/dlzexternal/ns1/named.conf.in (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
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.1;
16	notify-source 10.53.0.1;
17	transfer-source 10.53.0.1;
18	port @PORT@;
19	pid-file "named.pid";
20	session-keyfile "session.key";
21	listen-on { 10.53.0.1; 127.0.0.1; };
22	listen-on-v6 { none; };
23	allow-transfer { !10.53.0.1; any; };
24	recursion no;
25	notify yes;
26};
27
28key rndc_key {
29	secret "1234abcd8765";
30	algorithm hmac-sha256;
31};
32
33include "ddns.key";
34
35controls {
36	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
37};
38
39include "dlzs.conf";
40
41zone zone.nil {
42	type primary;
43	dlz unsearched2;
44};
45
46zone "." {
47	type redirect;
48	dlz redzone;
49};
50
51zone "." {
52	type primary;
53	file "root.db";
54};
55