xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/serve-stale/ns5/named.conf.in (revision b2c35e17b976cf7ccd7250c86c6f5e95090ed636)
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
14key rndc_key {
15	secret "1234abcd8765";
16	algorithm @DEFAULT_HMAC@;
17};
18
19controls {
20	inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
21};
22
23options {
24	query-source address 10.53.0.5;
25	notify-source 10.53.0.5;
26	transfer-source 10.53.0.5;
27	port @PORT@;
28	pid-file "named.pid";
29	listen-on { 10.53.0.5; };
30	listen-on-v6 { none; };
31	recursion yes;
32	dnssec-validation no;
33	dump-file "named_dump.db";
34	stale-answer-enable yes;
35	stale-cache-enable no;
36	max-cache-ttl 24h;
37};
38
39zone "." {
40	type secondary;
41	primaries { 10.53.0.1; };
42	file "root.bk";
43};
44