From 360d5b6cab274d102daaf405951d7e1ba0abe9a5 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Sat, 24 Aug 2024 03:23:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20DNS=20=E7=BC=93=E5=AD=98?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 6 +++--- 07.PVE制作TS服务器.md | 2 +- src/debian/debian_dns_dnsmasq.conf | 2 +- src/debian/debian_dns_smartdns.conf | 4 ++-- src/debian/debian_ts_dnsmasq.conf | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 17106c4..13285f4 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -342,8 +342,8 @@ bind-tcp [::]:6053@lo prefetch-domain yes rr-ttl-min 60 -rr-ttl-max 21600 -rr-ttl-reply-max 3600 +rr-ttl-max 28800 +rr-ttl-reply-max 14400 force-qtype-SOA 65 max-query-limit 1024 @@ -437,7 +437,7 @@ log-facility=/var/log/dnsmasq.log log-async=20 cache-size=2048 -max-cache-ttl=10800 +max-cache-ttl=7200 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 29915d5..b3a723c 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -514,7 +514,7 @@ log-facility=/var/log/dnsmasq.log log-async=20 cache-size=2048 -max-cache-ttl=10800 +max-cache-ttl=7200 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_dns_dnsmasq.conf b/src/debian/debian_dns_dnsmasq.conf index c59364e..cf85216 100644 --- a/src/debian/debian_dns_dnsmasq.conf +++ b/src/debian/debian_dns_dnsmasq.conf @@ -10,7 +10,7 @@ log-facility=/var/log/dnsmasq.log log-async=20 cache-size=2048 -max-cache-ttl=10800 +max-cache-ttl=7200 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_dns_smartdns.conf b/src/debian/debian_dns_smartdns.conf index 17be50c..ec475d6 100644 --- a/src/debian/debian_dns_smartdns.conf +++ b/src/debian/debian_dns_smartdns.conf @@ -25,8 +25,8 @@ bind-tcp [::]:6053@lo prefetch-domain yes rr-ttl-min 60 -rr-ttl-max 21600 -rr-ttl-reply-max 3600 +rr-ttl-max 28800 +rr-ttl-reply-max 14400 force-qtype-SOA 65 max-query-limit 1024 diff --git a/src/debian/debian_ts_dnsmasq.conf b/src/debian/debian_ts_dnsmasq.conf index 98d12cd..3ad9d61 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -10,7 +10,7 @@ log-facility=/var/log/dnsmasq.log log-async=20 cache-size=2048 -max-cache-ttl=10800 +max-cache-ttl=7200 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/