From dc519f17b59f46caca4bc25330ab6734eded9bf8 Mon Sep 17 00:00:00 2001 From: lhie1 Date: Mon, 21 Dec 2020 16:54:55 +0800 Subject: [PATCH] DNS --- Clash/Head_dns.yaml | 8 +++----- Clash/Head_tap.yaml | 4 ++-- Shadowrocket/Complete.conf | 2 +- Surfboard/Head.conf | 2 +- Surge/Surge 2/Head.conf | 2 +- Surge/Surge 3/Head.conf | 2 +- 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Clash/Head_dns.yaml b/Clash/Head_dns.yaml index 92410ba..fe3a12b 100644 --- a/Clash/Head_dns.yaml +++ b/Clash/Head_dns.yaml @@ -14,8 +14,8 @@ dns: enhanced-mode: fake-ip default-nameserver: - 119.29.29.29 - - 119.28.28.28 - - 1.2.4.8 + - 223.5.5.5 + - 223.6.6.6 fake-ip-filter: - '*.lan' - '*.edu.cn' @@ -27,9 +27,7 @@ dns: - '*.msftncsi.com' - 'www.msftconnecttest.com' nameserver: - - 'https://dns.alidns.com/dns-query' - - 'https://1.1.1.1/dns-query' - - 'tls://dns.adguard.com:853' + - 'https://doh.pub/dns-query' clash-for-android: # append-system-dns: true # 追加系统 DNS 到 nameserver ui-subtitle-pattern: "[\u4e00-\u9fa5]{2,4}" \ No newline at end of file diff --git a/Clash/Head_tap.yaml b/Clash/Head_tap.yaml index 317e06a..b92179f 100644 --- a/Clash/Head_tap.yaml +++ b/Clash/Head_tap.yaml @@ -14,8 +14,8 @@ dns: enhanced-mode: redir-host default-nameserver: - 119.29.29.29 - - 119.28.28.28 - - 1.2.4.8 + - 223.5.5.5 + - 223.6.6.6 # experimental: # interface-name: WLAN clash-for-android: diff --git a/Shadowrocket/Complete.conf b/Shadowrocket/Complete.conf index a6214b9..89e25d7 100644 --- a/Shadowrocket/Complete.conf +++ b/Shadowrocket/Complete.conf @@ -1,6 +1,6 @@ [General] bypass-system = true -dns-server = system, 119.29.29.29, 119.28.28.28, 1.2.4.8 +dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6 skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn bypass-tun = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32 diff --git a/Surfboard/Head.conf b/Surfboard/Head.conf index fa36a30..c426e2b 100644 --- a/Surfboard/Head.conf +++ b/Surfboard/Head.conf @@ -1,4 +1,4 @@ [General] -dns-server = system, 119.29.29.29, 119.28.28.28, 1.2.4.8 +dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6 skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn udp-replay = true \ No newline at end of file diff --git a/Surge/Surge 2/Head.conf b/Surge/Surge 2/Head.conf index efa04b5..6ab427e 100644 --- a/Surge/Surge 2/Head.conf +++ b/Surge/Surge 2/Head.conf @@ -3,7 +3,7 @@ bypass-system = true loglevel = notify replica = false -dns-server = system, 119.29.29.29, 119.28.28.28, 1.2.4.8 +dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6 skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn interface = 0.0.0.0 diff --git a/Surge/Surge 3/Head.conf b/Surge/Surge 3/Head.conf index ed44603..9b94cd5 100644 --- a/Surge/Surge 3/Head.conf +++ b/Surge/Surge 3/Head.conf @@ -3,7 +3,7 @@ bypass-system = true loglevel = notify replica = false -dns-server = system, 119.29.29.29, 119.28.28.28, 1.2.4.8 +dns-server = system, 119.29.29.29, 223.5.5.5, 223.6.6.6 skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, *.crashlytics.com, *.edu.cn tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 tun-included-routes = 192.168.1.12/32