关闭 Dnsmasq 缓存

This commit is contained in:
CallMeR
2024-03-19 10:13:17 +08:00
parent a1e992c956
commit 09a35e9c31
4 changed files with 4 additions and 16 deletions
+1 -5
View File
@@ -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/
+1 -5
View File
@@ -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/
+1 -3
View File
@@ -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/
+1 -3
View File
@@ -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/