From 56d711a796f6b1dcf84597e088000cf48327d803 Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Sat, 25 Mar 2023 23:30:09 +0800 Subject: [PATCH] conf: modify default serve_expired_ttl 1 day to 3 days --- src/dns_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dns_conf.c b/src/dns_conf.c index 60920ad..07fffc9 100644 --- a/src/dns_conf.c +++ b/src/dns_conf.c @@ -86,7 +86,7 @@ enum response_mode_type dns_conf_response_mode; int dns_conf_cachesize = -1; int dns_conf_prefetch = 0; int dns_conf_serve_expired = 1; -int dns_conf_serve_expired_ttl = 24 * 3600; /* 1 day */ +int dns_conf_serve_expired_ttl = 24 * 3600 * 3; /* 3 days */ int dns_conf_serve_expired_prefetch_time; int dns_conf_serve_expired_reply_ttl = 3;