xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/rrl/ns4/named.conf.in (revision c9055873d0546e63388f027d3d7f85381cde0545)
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
14options {
15	query-source address 10.53.0.4;
16	notify-source 10.53.0.4;
17	transfer-source 10.53.0.4;
18	port @PORT@;
19	session-keyfile "session.key";
20	pid-file "named.pid";
21	statistics-file	"named.stats";
22	listen-on { 10.53.0.4; };
23	listen-on-v6 { none; };
24	notify no;
25	recursion yes;
26	dnssec-validation yes;
27	max-udp-size 4096;
28
29	rate-limit {
30	    responses-per-second 2;
31	    all-per-second 50;
32	    slip 3;
33	    exempt-clients { 10.53.0.7; };
34	    log-only yes;
35
36	    // small enough to force a table expansion
37	    min-table-size 75;
38	};
39};
40
41key rndc_key {
42	secret "1234abcd8765";
43	algorithm @DEFAULT_HMAC@;
44};
45controls {
46	inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
47};
48
49/*
50 * These log settings have no effect unless "-g" is removed from ../../start.pl
51 */
52logging {
53	channel debug {
54	    file "log-debug";
55	    print-category yes; print-severity yes; severity debug 10;
56	};
57	channel queries {
58	    file "log-queries";
59	    print-category yes; print-severity yes; severity info;
60	};
61	category rate-limit { debug; queries; };
62	category queries { debug; queries; };
63};
64
65zone "." { type hint; file "hints"; };
66
67zone "tld4."{ type primary; file "tld4.db"; };
68