Debian Codegraph @

bin/tests/system/serve_stale/ns3/named5.conf.j2

raw
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
14 /*
15 * Test stale-answer-client-timeout 0.
16 */
17
18 key rndc_key {
19 secret "1234abcd8765";
20 algorithm @DEFAULT_HMAC@;
21 };
22
23 controls {
24 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
25 };
26
27 options {
28 query-source address 10.53.0.3;
29 notify-source 10.53.0.3;
30 transfer-source 10.53.0.3;
31 port @PORT@;
32 pid-file "named.pid";
33 listen-on { 10.53.0.3; };
34 listen-on-v6 { none; };
35 dnssec-validation no;
36 recursion yes;
37 stale-answer-enable yes;
38 stale-cache-enable yes;
39 stale-answer-ttl 3;
40 stale-answer-client-timeout 0;
41 stale-refresh-time 4;
42 resolver-query-timeout 10000; # 10 seconds
43 max-stale-ttl 3600;
44 prefetch 0;
45 };
46
47 zone "." {
48 type hint;
49 file "root.db";
50 };