xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/cacheclean/ns2/named.conf.in (revision a8c74629f602faa0ccf8a463757d7baf858bbf3a)
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.2;
14	notify-source 10.53.0.2;
15	transfer-source 10.53.0.2;
16	port @PORT@;
17	pid-file "named.pid";
18	listen-on { 10.53.0.2; };
19	listen-on-v6 { none; };
20	notify yes;
21	max-cache-size 80%;
22	disable-empty-zone 127.IN-ADDR.ARPA;
23	recursion yes;
24	dnssec-validation yes;
25};
26
27key rndc_key {
28	secret "1234abcd8765";
29	algorithm hmac-sha256;
30};
31
32controls {
33	inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
34};
35
36zone "." {
37	type hint;
38	file "../../common/root.hint";
39};
40
41zone "flushtest.example" {
42	type forward;
43	forwarders { 10.53.0.1; };
44};
45
46zone "expire-test" {
47	type slave;
48	masters { 10.53.0.1; };
49};
50