From 710b283204c5bdb6ed3a883e7584ababea543b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 1 Oct 2021 11:57:09 +0800 Subject: [PATCH] Add more default ttl --- app/dns/dnscommon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dns/dnscommon.go b/app/dns/dnscommon.go index c48045ce..bd6c00d0 100644 --- a/app/dns/dnscommon.go +++ b/app/dns/dnscommon.go @@ -178,7 +178,7 @@ func parseResponse(payload []byte) (*IPRecord, error) { ipRecord := &IPRecord{ ReqID: h.ID, RCode: h.RCode, - Expire: now.Add(time.Second * 600), + Expire: now.Add(time.Minute * 30), } L: