xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/dnssec/ns5/named2.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
14// NS5
15
16key rndc_key {
17	secret "1234abcd8765";
18	algorithm hmac-sha256;
19};
20
21controls {
22	inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
23};
24
25options {
26	query-source address 10.53.0.5;
27	notify-source 10.53.0.5;
28	transfer-source 10.53.0.5;
29	port @PORT@;
30	pid-file "named.pid";
31	listen-on { 10.53.0.5; 127.0.0.1; };
32	listen-on-v6 { none; };
33	recursion yes;
34};
35
36view root {
37	match-destinations { 127.0.0.1; };
38
39	zone "." {
40		type primary;
41		file "root.db.signed";
42	};
43};
44
45view other {
46include "revoked.conf";
47
48	zone "." {
49		type static-stub;
50		server-addresses { 127.0.0.1; };
51	};
52};
53