diff --git a/Clash/Global.yaml b/Clash/Global.yaml index 4e66dce..ac30faa 100644 --- a/Clash/Global.yaml +++ b/Clash/Global.yaml @@ -36,7 +36,7 @@ mode: rule log-level: info # When set to false, resolver won't translate hostnames to IPv6 addresses -ipv6: true +ipv6: false # RESTful web API listening address external-controller: 127.0.0.1:9090 @@ -77,8 +77,8 @@ dns: # These nameservers are used to resolve the DNS nameserver hostnames below. # Specify IP addresses only default-nameserver: - - 114.114.114.114 - - 8.8.8.8 + - 119.29.29.29 + - 1.0.0.1 enhanced-mode: redir-host # or fake-ip fake-ip-range: 198.18.0.1/16 # Fake IP addresses pool CIDR @@ -93,17 +93,16 @@ dns: # All DNS questions are sent directly to the nameserver, without proxies # involved. Clash answers the DNS question with the first result gathered. nameserver: - - 114.114.114.114 # default value - - 8.8.8.8 # default value - - tls://dns.rubyfish.cn:853 # DNS over TLS - - https://1.1.1.1/dns-query # DNS over HTTPS + - 119.29.29.29 + # - tls://dns.rubyfish.cn:853 # DNS over TLS + # - https://1.1.1.1/dns-query # DNS over HTTPS # When `fallback` is present, the DNS server will send concurrent requests # to the servers in this section along with servers in `nameservers`. # The answers from fallback servers are used when the GEOIP country # is not `CN`. - # fallback: - # - tcp://1.1.1.1 + fallback: + - https://cloudflare-dns.com/dns-query # If IP addresses resolved with servers in `nameservers` are in the specified # subnets below, they are considered invalid and results from `fallback` diff --git a/Quantumult/Global.conf b/Quantumult/Global.conf index ca27668..5fd1c65 100644 --- a/Quantumult/Global.conf +++ b/Quantumult/Global.conf @@ -56,7 +56,10 @@ no-ipv6 # 第三方 DNS server=119.29.29.29 -server=223.5.5.5 +# 电信 +# server=118.118.118.118 +# 联通 +# server=116.116.116.116 # 本地 DNS 映射 address=/mtalk.google.com/108.177.125.188 diff --git a/Surge/Global.conf b/Surge/Global.conf index 84ebebf..a364468 100644 --- a/Surge/Global.conf +++ b/Surge/Global.conf @@ -40,7 +40,9 @@ use-default-policy-if-wifi-not-primary = false # ------ # ---(DNS 服务器)--- -dns-server = 119.29.29.29,223.5.5.5,system +# 电信 118.118.118.118 +# 联通 116.116.116.116 +dns-server = 119.29.29.29,system # ------ # ---(实验性功能)---