xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/synthfromdnssec/ns1/named.conf.in (revision 2f62cc9c12bc202c40224f32c879f81443fee079)
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// NS1
15
16options {
17	query-source address 10.53.0.1;
18	notify-source 10.53.0.1;
19	transfer-source 10.53.0.1;
20	port @PORT@;
21	pid-file "named.pid";
22	listen-on { 10.53.0.1; };
23	listen-on-v6 { none; };
24	recursion no;
25	notify yes;
26	dnssec-validation yes;
27};
28
29key rndc_key {
30	secret "1234abcd8765";
31	algorithm @DEFAULT_HMAC@;
32};
33
34controls {
35	inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
36};
37
38statistics-channels {
39	inet 10.53.0.1 port @EXTRAPORT1@ allow { any; };
40};
41
42zone "." {
43	type primary;
44	file "root.db.signed";
45};
46
47zone "example" {
48	type primary;
49	file "example.db.signed";
50};
51
52zone "insecure.example" {
53	type primary;
54	file "insecure.example.db.signed";
55};
56
57zone "dnamed" {
58	type primary;
59	file "dnamed.db.signed";
60};
61
62zone "minimal" {
63	type primary;
64	file "minimal.db.signed";
65};
66
67zone "soa-without-dnskey" {
68	type primary;
69	file "soa-without-dnskey.db.signed";
70};
71
72include "trusted.conf";
73