mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
更新 SmartDNS 参数
This commit is contained in:
+4
-2
@@ -333,15 +333,17 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
|
|||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
|
max-query-limit 512
|
||||||
|
restart-on-crash yes
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
bind-tcp [::]:6053@lo
|
bind-tcp [::]:6053@lo
|
||||||
|
|
||||||
serve-expired yes
|
serve-expired yes
|
||||||
serve-expired-ttl 57600
|
serve-expired-ttl 64800
|
||||||
serve-expired-reply-ttl 3
|
serve-expired-reply-ttl 3
|
||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 21600
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
|
|
||||||
|
|||||||
@@ -23,15 +23,17 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
|
|||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
|
max-query-limit 512
|
||||||
|
restart-on-crash yes
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
bind-tcp [::]:6053@lo
|
bind-tcp [::]:6053@lo
|
||||||
|
|
||||||
serve-expired yes
|
serve-expired yes
|
||||||
serve-expired-ttl 57600
|
serve-expired-ttl 64800
|
||||||
serve-expired-reply-ttl 3
|
serve-expired-reply-ttl 3
|
||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 21600
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user