diff --git a/Configuring-example.md b/Configuring-example.md index 3d5b02d..80b4202 100644 --- a/Configuring-example.md +++ b/Configuring-example.md @@ -1,4 +1,4 @@ -This document provides an example configuring for [Alpha](https://github.com/MetaCubeX/Clash.Meta/tree/Alpha) branch. +这是一个使用 [Alpha](https://github.com/MetaCubeX/Clash.Meta/tree/Alpha) 分支的配置文件示例。 ## General ```yaml # port:7890 # HTTP(S) 代理服务器端口 @@ -20,7 +20,7 @@ find-process-mode:strict mode:rule -#自定义 geox-url +#自定义 geodata url geox-url: geoip:"https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geoip.dat" geosite:"https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/geosite.dat" @@ -75,16 +75,16 @@ tun: stack:system # gvisor / lwip dns-hijack: - 0.0.0.0:53 # 需要劫持的 DNS - # auto-detect-interface:true # 自动识别出口网卡 - # auto-route:true # 配置路由表 + auto-detect-interface:true # 自动识别出口网卡 + auto-route:true # 配置路由表 # mtu:9000 # 最大传输单元 # strict_route:true # 将所有连接路由到 tun 来防止泄漏,但你的设备将无法其他设备被访问 - inet4_route_address:# 启用 auto_route 时使用自定义路由而不是默认路由 - - 0.0.0.0/1 - - 128.0.0.0/1 - inet6_route_address:# 启用 auto_route 时使用自定义路由而不是默认路由 - - "::/1" - - "8000::/1" + # inet4_route_address:# 启用 auto_route 时使用自定义路由而不是默认路由 + # - 0.0.0.0/1 + # - 128.0.0.0/1 + # inet6_route_address:# 启用 auto_route 时使用自定义路由而不是默认路由 + # - "::/1" + # - "8000::/1" # endpoint_independent_nat:false # 启用独立于端点的 NAT # include_uid:# UID 规则仅在 Linux 下被支持,并且需要 auto_route # - 0 @@ -203,15 +203,16 @@ dns: # - localhost.ptlogin2.qq.com # 配置查询域名使用的 DNS 服务器 + # nameserver-policy 可以使用 geosite 分流 DNS 解析。 + # 将国内域名指定为国内 DOH 进行解析,其余 DNS 使用境外 DOH 解析 nameserver-policy: # 'www.baidu.com':'114.114.114.114' # '+.internal.crop.com':'10.0.0.1' - # nameserver-policy 可以使用 geosite 分流 DNS 解析。将国内域名指定为国内 DOH 进行解析,其余 DNS 使用境外 DOH google/cf 解析 + "geosite:cn":[https://doh.pub/dns-query,https://dns.alidns.com/dns-query] # DNS 主要域名配置 # 支持 UDP,TCP,DoT,DoH,DoQ - # 这部分为主要 DNS 配置,影响所有直连,确保使用对大陆解析精准的 DNS nameserver: - https://dns.google/dns-query - https://dns.cloudflare.com/dns-query