xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/nsec3/ns2/named.conf.in (revision 345cf9fb81bd0411c53e25d62cd93bdcaa865312)
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// NS2
15
16dnssec-policy "nsec3" {
17	nsec3param;
18};
19
20options {
21	query-source address 10.53.0.2;
22	notify-source 10.53.0.2;
23	transfer-source 10.53.0.2;
24	port @PORT@;
25	pid-file "named.pid";
26	listen-on { 10.53.0.2; };
27	listen-on-v6 { none; };
28	allow-transfer { any; };
29	recursion no;
30	dnssec-validation no;
31};
32
33key rndc_key {
34	secret "1234abcd8765";
35	algorithm @DEFAULT_HMAC@;
36};
37
38controls {
39	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
40};
41
42zone "nsec3-xfr-inline.kasp" {
43	type primary;
44	file "nsec3-xfr-inline.kasp.db";
45	inline-signing yes;
46	dnssec-policy "nsec3";
47};
48