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