mirror of
https://github.com/DivineEngine/Profiles.git
synced 2025-01-23 05:59:04 +08:00
🚩 Clash DNS
This commit is contained in:
parent
83913c370a
commit
4f5cf3b559
@ -49,28 +49,27 @@ hosts:
|
||||
# '*.clash.dev': 127.0.0.1
|
||||
# 'alpha.clash.dev': '::1'
|
||||
|
||||
# dns:
|
||||
# enable: true # set true to enable dns (default is false)
|
||||
# ipv6: false # default is false
|
||||
# listen: 0.0.0.0:53
|
||||
# # default-nameserver: # resolve dns nameserver host, should fill pure IP
|
||||
# # - 114.114.114.114
|
||||
# # - 8.8.8.8
|
||||
# enhanced-mode: redir-host # or fake-ip
|
||||
# # fake-ip-range: 198.18.0.1/16 # if you don't know what it is, don't change it
|
||||
# fake-ip-filter: # fake ip white domain list
|
||||
# - '*.lan'
|
||||
# - localhost.ptlogin2.qq.com
|
||||
# nameserver:
|
||||
dns:
|
||||
enable: true # set true to enable dns (default is false)
|
||||
ipv6: false # default is false
|
||||
listen: 0.0.0.0:53
|
||||
# default-nameserver: # resolve dns nameserver host, should fill pure IP
|
||||
# - 114.114.114.114
|
||||
# - tls://dns.rubyfish.cn:853 # dns over tls
|
||||
# - https://1.1.1.1/dns-query # dns over https
|
||||
# fallback: # concurrent request with nameserver, fallback used when GEOIP country isn't CN
|
||||
# - tcp://1.1.1.1
|
||||
# fallback-filter:
|
||||
# geoip: true # default
|
||||
# ipcidr: # ips in these subnets will be considered polluted
|
||||
# - 240.0.0.0/4
|
||||
# - 8.8.8.8
|
||||
enhanced-mode: redir-host # or fake-ip
|
||||
# fake-ip-range: 198.18.0.1/16 # if you don't know what it is, don't change it
|
||||
fake-ip-filter: # fake ip white domain list
|
||||
- '*.lan'
|
||||
- localhost.ptlogin2.qq.com
|
||||
nameserver:
|
||||
- 119.29.29.29
|
||||
- 223.5.5.5
|
||||
fallback: # concurrent request with nameserver, fallback used when GEOIP country isn't CN
|
||||
- tcp://1.1.1.1
|
||||
fallback-filter:
|
||||
geoip: true # default
|
||||
ipcidr: # ips in these subnets will be considered polluted
|
||||
- 240.0.0.0/4
|
||||
|
||||
proxies:
|
||||
# 支持的协议及加密算法示例请查阅 Clash 项目 README 以使用最新格式:https://github.com/Dreamacro/clash/blob/master/README.md
|
||||
|
@ -43,13 +43,17 @@ dns_exclusion_list = *.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, *.
|
||||
|
||||
|
||||
[dns]
|
||||
# 为了提高性能,会使用从当前网络(系统)中获取的DNS服务器(您可以使用「no-system」禁用此功能,但至少要增加一个自定义的DNS服务器,如「server=223.5.5.5.5」)。
|
||||
# 查询结果只用于评估过滤器或通过直接策略连接,当通过服务器连接时,查询结果不会被使用,Quantumult 永远不会知道相关域名的目标 IP。
|
||||
# 如果您想让某个域名(例如:example.com)为 127.0.0.0.1,只需在「filter_local」部分添加「host, example.com, reject」即可。拒绝操作将返回 127.0.0.0.1 的 DNS 响应。
|
||||
|
||||
# 禁用系统 DNS
|
||||
# 为了提高性能,会使用从当前网络(系统)中获取的 DNS 服务器(您可以使用「no-system」禁用此功能,但至少要增加一个自定义的DNS服务器,如「server=223.5.5.5.5」)。
|
||||
;no-system
|
||||
|
||||
# 禁用 IPv6
|
||||
# 当设置「no-ipv6」时,Quanumult X Tunnel 的 DNS 模块会直接让 AAAA 查询失败。
|
||||
no-ipv6
|
||||
|
||||
# 第三方 DNS
|
||||
server=119.29.29.29
|
||||
server=223.5.5.5
|
||||
|
Loading…
Reference in New Issue
Block a user