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/