mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-09-01 06:22:52 +08:00
更新 SmartDNS 配置
This commit is contained in:
+1
-8
@@ -330,13 +330,7 @@ $ sudo nvim /etc/smartdns/smartdns.conf
|
|||||||
# server 2402:4e00::
|
# server 2402:4e00::
|
||||||
# server 2400:3200::1
|
# server 2400:3200::1
|
||||||
|
|
||||||
conf-file /etc/smartdns.d/adrules.smartdns.conf
|
conf-file /etc/smartdns.d/*.conf
|
||||||
|
|
||||||
conf-file /etc/smartdns.d/dns-group.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/apple.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/google.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/accelerated-domains.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
|
|
||||||
|
|
||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
@@ -351,7 +345,6 @@ serve-expired-reply-ttl 30
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 28800
|
||||||
|
|
||||||
force-qtype-SOA 65
|
|
||||||
max-query-limit 1024
|
max-query-limit 1024
|
||||||
edns-client-subnet 202.103.24.68
|
edns-client-subnet 202.103.24.68
|
||||||
|
|
||||||
|
|||||||
@@ -12,13 +12,7 @@
|
|||||||
# server 2402:4e00::
|
# server 2402:4e00::
|
||||||
# server 2400:3200::1
|
# server 2400:3200::1
|
||||||
|
|
||||||
conf-file /etc/smartdns.d/adrules.smartdns.conf
|
conf-file /etc/smartdns.d/*.conf
|
||||||
|
|
||||||
conf-file /etc/smartdns.d/dns-group.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/apple.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/google.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/accelerated-domains.china.smartdns.conf
|
|
||||||
conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
|
|
||||||
|
|
||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
@@ -33,7 +27,6 @@ serve-expired-reply-ttl 30
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 28800
|
||||||
|
|
||||||
force-qtype-SOA 65
|
|
||||||
max-query-limit 1024
|
max-query-limit 1024
|
||||||
edns-client-subnet 202.103.24.68
|
edns-client-subnet 202.103.24.68
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user