mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
更新 DNS 缓存参数
This commit is contained in:
+3
-3
@@ -342,8 +342,8 @@ bind-tcp [::]:6053@lo
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
|
|
||||||
rr-ttl-min 60
|
rr-ttl-min 60
|
||||||
rr-ttl-max 21600
|
rr-ttl-max 28800
|
||||||
rr-ttl-reply-max 3600
|
rr-ttl-reply-max 14400
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
max-query-limit 1024
|
max-query-limit 1024
|
||||||
@@ -437,7 +437,7 @@ log-facility=/var/log/dnsmasq.log
|
|||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=2048
|
||||||
max-cache-ttl=10800
|
max-cache-ttl=7200
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -514,7 +514,7 @@ log-facility=/var/log/dnsmasq.log
|
|||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=2048
|
||||||
max-cache-ttl=10800
|
max-cache-ttl=7200
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ log-facility=/var/log/dnsmasq.log
|
|||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=2048
|
||||||
max-cache-ttl=10800
|
max-cache-ttl=7200
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ bind-tcp [::]:6053@lo
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
|
|
||||||
rr-ttl-min 60
|
rr-ttl-min 60
|
||||||
rr-ttl-max 21600
|
rr-ttl-max 28800
|
||||||
rr-ttl-reply-max 3600
|
rr-ttl-reply-max 14400
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
max-query-limit 1024
|
max-query-limit 1024
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ log-facility=/var/log/dnsmasq.log
|
|||||||
log-async=20
|
log-async=20
|
||||||
|
|
||||||
cache-size=2048
|
cache-size=2048
|
||||||
max-cache-ttl=10800
|
max-cache-ttl=7200
|
||||||
fast-dns-retry=1800
|
fast-dns-retry=1800
|
||||||
rebind-domain-ok=/fox.home.arpa/
|
rebind-domain-ok=/fox.home.arpa/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user