From 4fbb729d85d2a21104d7256c2da4ab8345fbcad7 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Mon, 29 Jul 2024 01:13:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=20SmartDNS=20=E8=BF=87?= =?UTF-8?q?=E6=9C=9F=E7=BC=93=E5=AD=98=E5=B9=B6=E8=B0=83=E6=95=B4=E5=93=8D?= =?UTF-8?q?=E5=BA=94=20TTL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 8 ++++---- src/debian/debian_dns_smartdns.conf | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 3cec3be..cad68c1 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -339,11 +339,11 @@ log-level notice bind [::]:6053@lo bind-tcp [::]:6053@lo -serve-expired yes -serve-expired-ttl 129600 -serve-expired-reply-ttl 30 prefetch-domain yes -serve-expired-prefetch-time 21600 + +rr-ttl-min 60 +rr-ttl-max 21600 +rr-ttl-reply-max 3600 force-qtype-SOA 65 max-query-limit 1024 diff --git a/src/debian/debian_dns_smartdns.conf b/src/debian/debian_dns_smartdns.conf index d13b551..6f69305 100644 --- a/src/debian/debian_dns_smartdns.conf +++ b/src/debian/debian_dns_smartdns.conf @@ -22,11 +22,11 @@ log-level notice bind [::]:6053@lo bind-tcp [::]:6053@lo -serve-expired yes -serve-expired-ttl 129600 -serve-expired-reply-ttl 30 prefetch-domain yes -serve-expired-prefetch-time 21600 + +rr-ttl-min 60 +rr-ttl-max 21600 +rr-ttl-reply-max 3600 force-qtype-SOA 65 max-query-limit 1024