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:
+2
-4
@@ -284,6 +284,8 @@ $ sudo nvim /etc/smartdns/smartdns.conf
|
|||||||
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
|
log-level notice
|
||||||
|
|
||||||
bind [::]:53
|
bind [::]:53
|
||||||
bind-tcp [::]:53
|
bind-tcp [::]:53
|
||||||
|
|
||||||
@@ -293,12 +295,8 @@ serve-expired-reply-ttl 3
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 28800
|
||||||
|
|
||||||
speed-check-mode ping,tcp:80,tcp:443
|
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
|
|
||||||
log-level notice
|
|
||||||
|
|
||||||
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
||||||
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
||||||
nameserver /doh.pub/dnspod
|
nameserver /doh.pub/dnspod
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
|
log-level notice
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
bind-tcp [::]:6053@lo
|
bind-tcp [::]:6053@lo
|
||||||
|
|
||||||
@@ -24,12 +26,8 @@ serve-expired-reply-ttl 3
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 28800
|
||||||
|
|
||||||
speed-check-mode ping,tcp:80,tcp:443
|
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
|
|
||||||
log-level notice
|
|
||||||
|
|
||||||
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
||||||
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
||||||
nameserver /doh.pub/dnspod
|
nameserver /doh.pub/dnspod
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
conf-file /etc/smartdns/anti-ad-smartdns.conf
|
||||||
cache-file /tmp/smartdns.cache
|
cache-file /tmp/smartdns.cache
|
||||||
|
|
||||||
|
log-level notice
|
||||||
|
|
||||||
bind [::]:53
|
bind [::]:53
|
||||||
bind-tcp [::]:53
|
bind-tcp [::]:53
|
||||||
|
|
||||||
@@ -24,12 +26,8 @@ serve-expired-reply-ttl 3
|
|||||||
prefetch-domain yes
|
prefetch-domain yes
|
||||||
serve-expired-prefetch-time 28800
|
serve-expired-prefetch-time 28800
|
||||||
|
|
||||||
speed-check-mode ping,tcp:80,tcp:443
|
|
||||||
|
|
||||||
force-qtype-SOA 65
|
force-qtype-SOA 65
|
||||||
|
|
||||||
log-level notice
|
|
||||||
|
|
||||||
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
|
||||||
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
|
||||||
nameserver /doh.pub/dnspod
|
nameserver /doh.pub/dnspod
|
||||||
|
|||||||
Reference in New Issue
Block a user