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