diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 4aec872..ae98e1b 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -490,6 +490,8 @@ $ sudo nvim /etc/dnsmasq.conf **额外说明:** +- 请根据系统内存使用情况,调整缓存参数 `cache-size` + - 配置文件中内网域名为 `fox.home.arpa` ,请根据实际情况进行调整 - `Dnsmasq` 上游 DNS 服务器分为三类,请根据实际情况进行调整 @@ -509,7 +511,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=1024 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 88ee7b3..3c6ce71 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -9,7 +9,7 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=1024 edns-packet-max=1232 rebind-domain-ok=/fox.home.arpa/