Closed eqfae closed 1 year ago
远程DNS交给节点去处理了,而不是本地
https://sing-box.sagernet.org/zh/configuration/dns/server/ 设置出站 为直连能工作吗 注意到singbox直连dns单独开了个进程 出站是直连工作(禁用了日志但这个单独的没禁)
或者加入缓存选项 重写ttl 乐观缓存 缓存持久化保存为文件
xiaorouji @.***> 于 2023年9月16日周六 01:12写道:
远程DNS交给节点去处理了,而不是本地
— Reply to this email directly, view it on GitHub https://github.com/xiaorouji/openwrt-passwall2/issues/382#issuecomment-1721599190, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4WPCFHM7YB2YWFICOZ2TALX2SEAZANCNFSM6AAAAAA4YF4ENA . You are receiving this because you authored the thread.Message ID: @.***>
估计是想如*ray-core一样远程DNS可以使用外部DNS, MOSDNS, AdguardHome, 可以做些特别的用途.
没有必要外接DNS,Sing-Box的DNS模块已经足够使用,而且内部逻辑已经做到对要分流的规则的域名使用对应的节点去查询DNS,fakedns还支持持久化。
没有必要外接DNS,Sing-Box的DNS模块已经足够使用,而且内部逻辑已经做到对要分流的规则的域名使用对应的节点去查询DNS,fakedns还支持持久化。
https://sing-box.sagernet.org/zh/configuration/dns/server/ 设置出站 为直连能工作吗 注意到singbox直连dns单独开了个进程 出站是直连工作(禁用了日志但这个单独的没禁) 或者加入缓存选项 重写ttl 乐观缓存 缓存持久化保存为文件 xiaorouji @.> 于 2023年9月16日周六 01:12写道: … 远程DNS交给节点去处理了,而不是本地 — Reply to this email directly, view it on GitHub <#382 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4WPCFHM7YB2YWFICOZ2TALX2SEAZANCNFSM6AAAAAA4YF4ENA . You are receiving this because you authored the thread.Message ID: @.>
我知道singbox功能够 建议加入上面提到的缓存选项
另外从1.20-10更新到13 singbox启动不了
[31mFATAL[0m[0000] create service: parse route options: duplicate dns server tag: default
"independent_cache": false,
"servers": [
{
"address": "rcode:\/\/success",
"tag": "block"
},
{
"address_strategy": "prefer_ipv4",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_resolver": "direct",
"strategy": "ipv4_only",
"detour": "default",
"tag": "remote"
},
{
"address_strategy": "prefer_ipv6",
"address": "udp:\/\/127.0.0.1:15355",
"strategy": "prefer_ipv6",
"detour": "direct",
"tag": "direct"
},
{
"address_resolver": "direct",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_strategy": "prefer_ipv4",
"strategy": "ipv4_only",
"detour": "default",
"tag": "default"
},
{
"address_resolver": "direct",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_strategy": "prefer_ipv4",
"strategy": "ipv4_only",
"detour": "not_jp",
"tag": "not_jp"
},
{
"address_resolver": "direct",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_strategy": "prefer_ipv4",
"strategy": "ipv4_only",
"detour": "default",
"tag": "default"
}
发一下分流规则我看看
是否自己创建了一个叫default的分流规则备注?
是否自己创建了一个叫default的分流规则备注?
尝试最新 commit
尝试最新 commit
启动了
],
"independent_cache": false,
"servers": [
{
"address": "rcode:\/\/success",
"tag": "block"
},
{
"address_strategy": "prefer_ipv4",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_resolver": "direct",
"strategy": "ipv4_only",
"detour": "default",
"tag": "remote"
},
{
"address_strategy": "prefer_ipv6",
"address": "udp:\/\/127.0.0.1:15355",
"strategy": "prefer_ipv6",
"detour": "direct",
"tag": "direct"
},
{
"address_resolver": "direct",
"address": "https:\/\/1.1.1.1\/dns-query",
"address_strategy": "prefer_ipv4",
"strategy": "ipv4_only",
"detour": "not_jp",
"tag": "not_jp"
}
],
"reverse_mapping": true,
"disable_expire": false,
"final": "remote"
描述您遇到的bug
10.0.0.10:7053 xray没问题
复现此Bug的步骤
远程 DNS填 10.0.0.10:7053
您想要实现的目的
sing-box下udp dns工作
日志信息
2023-09-14 21:08:28: 127.0.0.1#15353 ( 直连DNS:10.0.0.1#54 远程DNS:10.0.0.10#7053)
截图
No response
系统相关信息
1.20-10
其他信息
No response