From 20086c63f78b0a3246a18e437aade5de782ff2fc Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Fri, 2 Aug 2024 10:29:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20Dnsmasq=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 5 +---- 07.PVE制作TS服务器.md | 5 +---- src/debian/debian_dns_dnsmasq.conf | 5 +---- src/debian/debian_ts_dnsmasq.conf | 5 +---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 7d1edb8..5cfd2a4 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -439,10 +439,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=2048 -max-cache-ttl=10800 +cache-size=0 fast-dns-retry=1800 -edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ bind-dynamic @@ -450,7 +448,6 @@ bogus-priv domain-needed local-service no-hosts -no-negcache no-resolv no-round-robin rebind-localhost-ok diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 6dbaf7a..515fa22 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -513,10 +513,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=2048 -max-cache-ttl=10800 +cache-size=0 fast-dns-retry=1800 -edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ bind-dynamic @@ -524,7 +522,6 @@ bogus-priv domain-needed local-service no-hosts -no-negcache no-round-robin rebind-localhost-ok stop-dns-rebind diff --git a/src/debian/debian_dns_dnsmasq.conf b/src/debian/debian_dns_dnsmasq.conf index 10b75c3..0495a63 100644 --- a/src/debian/debian_dns_dnsmasq.conf +++ b/src/debian/debian_dns_dnsmasq.conf @@ -9,10 +9,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=2048 -max-cache-ttl=10800 +cache-size=0 fast-dns-retry=1800 -edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ bind-dynamic @@ -20,7 +18,6 @@ bogus-priv domain-needed local-service no-hosts -no-negcache no-resolv no-round-robin rebind-localhost-ok diff --git a/src/debian/debian_ts_dnsmasq.conf b/src/debian/debian_ts_dnsmasq.conf index e5794c5..3a14172 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -9,10 +9,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=2048 -max-cache-ttl=10800 +cache-size=0 fast-dns-retry=1800 -edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ bind-dynamic @@ -20,7 +18,6 @@ bogus-priv domain-needed local-service no-hosts -no-negcache no-round-robin rebind-localhost-ok stop-dns-rebind