From 09a35e9c319e8ea1191ee090124ce5b65b27e4fa Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Tue, 19 Mar 2024 10:13:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=20Dnsmasq=20=E7=BC=93?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 6 +----- 07.PVE制作TS服务器.md | 6 +----- src/debian/debian_dns_dnsmasq.conf | 4 +--- src/debian/debian_ts_dnsmasq.conf | 4 +--- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index f68f146..06d20f4 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -419,8 +419,6 @@ $ sudo nvim /etc/dnsmasq.conf **额外说明:** -- 请根据系统内存使用情况,调整缓存参数 `cache-size` - - 配置文件中内网域名为 `fox.home.arpa` ,请根据实际情况进行调整 - `Dnsmasq` 有且仅有 `SmartDNS` 作为上游 DNS 服务器 @@ -437,9 +435,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=1024 -max-cache-ttl=21600 - +cache-size=0 dns-forward-max=300 edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index e2ebfab..96a7c45 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -490,8 +490,6 @@ $ sudo nvim /etc/dnsmasq.conf **额外说明:** -- 请根据系统内存使用情况,调整缓存参数 `cache-size` - - 配置文件中内网域名为 `fox.home.arpa` ,请根据实际情况进行调整 - `Dnsmasq` 上游 DNS 服务器分为三类,请根据实际情况进行调整 @@ -511,9 +509,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=1024 -max-cache-ttl=21600 - +cache-size=0 dns-forward-max=300 edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_dns_dnsmasq.conf b/src/debian/debian_dns_dnsmasq.conf index 369fdfa..2cb5ed2 100644 --- a/src/debian/debian_dns_dnsmasq.conf +++ b/src/debian/debian_dns_dnsmasq.conf @@ -9,9 +9,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=1024 -max-cache-ttl=21600 - +cache-size=0 dns-forward-max=300 edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_ts_dnsmasq.conf b/src/debian/debian_ts_dnsmasq.conf index 931df99..5bd331f 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -9,9 +9,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=1024 -max-cache-ttl=21600 - +cache-size=0 dns-forward-max=300 edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/