Archived
更新 SmartDNS 配置
This commit is contained in:
+1
-8
@@ -330,13 +330,7 @@ $ sudo nvim /etc/smartdns/smartdns.conf
|
||||
# server 2402:4e00::
|
||||
# server 2400:3200::1
|
||||
|
||||
conf-file /etc/smartdns.d/adrules.smartdns.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
|
||||
conf-file /etc/smartdns.d/*.conf
|
||||
|
||||
cache-file /tmp/smartdns.cache
|
||||
|
||||
@@ -351,7 +345,6 @@ serve-expired-reply-ttl 30
|
||||
prefetch-domain yes
|
||||
serve-expired-prefetch-time 28800
|
||||
|
||||
force-qtype-SOA 65
|
||||
max-query-limit 1024
|
||||
edns-client-subnet 202.103.24.68
|
||||
|
||||
|
||||
@@ -12,13 +12,7 @@
|
||||
# server 2402:4e00::
|
||||
# server 2400:3200::1
|
||||
|
||||
conf-file /etc/smartdns.d/adrules.smartdns.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
|
||||
conf-file /etc/smartdns.d/*.conf
|
||||
|
||||
cache-file /tmp/smartdns.cache
|
||||
|
||||
@@ -33,7 +27,6 @@ serve-expired-reply-ttl 30
|
||||
prefetch-domain yes
|
||||
serve-expired-prefetch-time 28800
|
||||
|
||||
force-qtype-SOA 65
|
||||
max-query-limit 1024
|
||||
edns-client-subnet 202.103.24.68
|
||||
|
||||
|
||||
Reference in New Issue
Block a user