Skip to content

Commit 409ea4b

Browse files
committed
fix(dns): resolve 步骤改用直连 ali,消除 Cloudflare DoH 单点故障 (#156)
rule 模式下规则未覆盖的代理域名会走到 06_route.json 的 resolve 步骤, 原 server=cloudflare 是经 Proxy 的 DoH,节点与 1.1.1.1:443 握手失败时 sing-box 会中止整条连接 (resolve action 无 fallback 机制)。改用直连 ali 解析,保留 resolve->cn-ip 分流链;同时移除 resolve action 无效的 match_only 字段。
1 parent 6482a08 commit 409ea4b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/module/config/singbox/confdir/06_route.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,8 @@
147147
},
148148
{
149149
"action": "resolve",
150-
"match_only": true,
151150
"strategy": "ipv4_only",
152-
"server": "cloudflare"
151+
"server": "ali"
153152
},
154153
{
155154
"rule_set": "cn-ip",

0 commit comments

Comments
 (0)