调整dns设置,确保没有dns泄漏
This commit is contained in:
@@ -53,72 +53,42 @@ dns: # 如订阅配置无包括此项的所有DNS设置,OpenClash将自动添
|
||||
enhanced-mode: fake-ip # or redir-host # 此项将被接管
|
||||
fake-ip-range: 198.18.0.1/16 # if you don't know what it is, don't change it # 此项将被接管
|
||||
default-nameserver:
|
||||
# Unicom DNS
|
||||
- 123.123.123.123
|
||||
- 123.123.123.124
|
||||
- 2408:8000:1010:1::8
|
||||
- 2408:8000:1010:2::8
|
||||
- 2408:8888::8
|
||||
- 2408:8899::8
|
||||
# Telecom (ShenZhen)
|
||||
# - 202.96.134.133
|
||||
# - 202.96.128.86
|
||||
# - 202.96.128.166
|
||||
# Ali
|
||||
- 202.96.134.133
|
||||
- 202.96.128.86
|
||||
- 202.96.128.166
|
||||
# Ali DNS
|
||||
- 223.5.5.5
|
||||
- 223.6.6.6
|
||||
# Tencent DNS
|
||||
- 119.29.29.29
|
||||
# Google DNS
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
# Cloudflare
|
||||
# - 1.1.1.1
|
||||
# - 1.0.0.1
|
||||
# - 2606:4700:4700::1111
|
||||
# - 2606:4700:4700::1001
|
||||
# OpenDNS
|
||||
# - 208.67.222.222
|
||||
# - 208.67.220.220
|
||||
# - 2620:119:35::35
|
||||
# - 2620:119:53::53
|
||||
# Quad9
|
||||
# - 9.9.9.9
|
||||
# - 149.112.112.112
|
||||
# - 2620:fe::fe
|
||||
# - 2620:fe::9
|
||||
# - 8.8.8.8
|
||||
# - 8.8.4.4
|
||||
# - 2001:4860:4860::8888
|
||||
# - 2001:4860:4860::8844
|
||||
# 仅用于解析“代理节点域名/订阅里节点的域名”,避免鸡生蛋问题
|
||||
proxy-server-nameserver:
|
||||
# Ali DNS
|
||||
- https://223.5.5.5/dns-query
|
||||
nameserver:
|
||||
# Google DNS
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 2001:4860:4860::8888
|
||||
- 2001:4860:4860::8844
|
||||
- tls://dns.google:853
|
||||
- https://dns.google/dns-query
|
||||
- https://dns.google/dns-query#📺 Proxy
|
||||
# Cloudflare
|
||||
# - tls://cloudflare-dns.com:853
|
||||
# - https://cloudflare-dns.com/dns-query
|
||||
# OpenDNS
|
||||
# - https://doh.opendns.com/dns-query
|
||||
# Quad9
|
||||
# - https://dns.quad9.net/dns-query
|
||||
# - tls://dns.quad9.net:853
|
||||
# Unicom DNS
|
||||
# - 123.123.123.123
|
||||
# - 123.123.123.124
|
||||
# - 2408:8888::8
|
||||
# - 2408:8899::8
|
||||
# Telecom (ShenZhen)
|
||||
# - 202.96.134.133
|
||||
# - 202.96.128.86
|
||||
# - 202.96.128.166
|
||||
# Ali
|
||||
# - https://223.5.5.5/dns-query
|
||||
# - https://223.6.6.6/dns-query
|
||||
# - https://dns.alidns.com/dns-query
|
||||
- https://cloudflare-dns.com/dns-query
|
||||
nameserver-policy:
|
||||
"geosite:cn, private":
|
||||
# Ali
|
||||
- 223.5.5.5
|
||||
# - https://223.5.5.5/dns-query
|
||||
# - https://223.6.6.6/dns-query
|
||||
# - https://dns.alidns.com/dns-query
|
||||
# Telecom (ShenZhen)
|
||||
# - 202.96.134.133
|
||||
# - 202.96.128.86
|
||||
# - 202.96.128.166
|
||||
- https://223.5.5.5/dns-query
|
||||
- https://223.6.6.6/dns-query
|
||||
- https://dns.alidns.com/dns-query
|
||||
|
||||
proxies:
|
||||
# 下面放入你的节点信息(可以多个,认证仔细点!)
|
||||
|
||||
Reference in New Issue
Block a user