xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/shutdown/ns1/named.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
14key rndc_key {
15    secret "1234abcd8765";
16	algorithm hmac-sha256;
17};
18
19controls {
20	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
21};
22
23options {
24	query-source address 10.53.0.1;
25	notify-source 10.53.0.1;
26	transfer-source 10.53.0.1;
27	port @PORT@;
28	listen-on { 10.53.0.1; };
29	pid-file "named.pid";
30	notify no;
31	dnssec-validation no;
32	allow-query { any; };
33	recursion yes;
34	allow-recursion { any; };
35};
36
37# Delegate .test domain to 10.53.0.2
38zone "." {
39    type master;
40    file "root.db";
41    allow-transfer { none; };
42};
43