xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/inline/ns7/named.conf.in (revision 9fb66d812c00ebfb445c0b47dea128f32aa6fe96)
1/*
2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * See the COPYRIGHT file distributed with this work for additional
9 * information regarding copyright ownership.
10 */
11
12/*
13 * NS7
14 *
15 * NOTE: This named instance is used to reproduce a scenario which involves a
16 * number of functions getting called in a very specific order which results in
17 * an infinite loop while iterating over NSEC3 red-black tree.  Ensuring this
18 * happens requires carefully setting the number of signing keys, NSEC3
19 * parameters (number of iterations and salt value), zone data and named
20 * configuration.  Changing any of these and/or influencing this instance's
21 * behavior (e.g. by sending extra queries to it) might render this test moot
22 * as it will no longer be able to reproduce the exact scenario it attempts to.
23 *
24 * Given the above, please do not use this instance for any other test than the
25 * one it was meant for.
26 */
27
28include "../../common/rndc.key";
29
30controls {
31	inet 10.53.0.7 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
32};
33
34options {
35	query-source address 10.53.0.7;
36	notify-source 10.53.0.7;
37	transfer-source 10.53.0.7;
38	port @PORT@;
39	pid-file "named.pid";
40	listen-on { 10.53.0.7; };
41	listen-on-v6 { none; };
42	recursion no;
43	notify no;
44	try-tcp-refresh no;
45	allow-new-zones yes;
46	sig-signing-nodes 100;
47	sig-signing-signatures 10;
48};
49