diff --git a/Clash/Global.yaml b/Clash/Global.yaml index 213612b..8e0e9d4 100644 --- a/Clash/Global.yaml +++ b/Clash/Global.yaml @@ -44,7 +44,8 @@ experimental: # # 实验性 hosts, 支持通配符(如 *.clash.dev 甚至 *.foo.*.examplex.com ) # # 静态域的优先级高于通配符域(foo.example.com > *.example.com) -# hosts: +hosts: + 'mtalk.google.com': 108.177.125.188 # '*.clash.dev': 127.0.0.1 # 'alpha.clash.dev': '::1' diff --git a/Quantumult/Global.conf b/Quantumult/Global.conf index 0ad5e31..6fa289b 100755 --- a/Quantumult/Global.conf +++ b/Quantumult/Global.conf @@ -53,6 +53,10 @@ dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *. # 第三方 DNS server=119.29.29.29 server=223.5.5.5 + +# 本地 DNS 映射 +address=/mtalk.google.com/108.177.125.188 + ;server=8.8.4.4:53 ;server=/example0.com/system ;server=/example1.com/8.8.4.4 diff --git a/Surge/Legacy.conf b/Surge/Legacy.conf index 8fc422a..58b6fed 100755 --- a/Surge/Legacy.conf +++ b/Surge/Legacy.conf @@ -1804,6 +1804,7 @@ GEOIP,CN,🌐Direct FINAL,🧭Final,dns-failed [Host] +mtalk.google.com = 108.177.125.188 # CUSTOM HOST [Header Rewrite] diff --git a/Surge/NextGen.conf b/Surge/NextGen.conf index 882d7bf..6f7300c 100755 --- a/Surge/NextGen.conf +++ b/Surge/NextGen.conf @@ -175,6 +175,7 @@ GEOIP,CN,🌐Direct FINAL,🧭Final,dns-failed [Host] +mtalk.google.com = 108.177.125.188 # CUSTOM HOST [Header Rewrite]