You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2026. It is now read-only.
后来发现同样的 dns 配置,在 v2rayng 能正常使用,在 Xray4Magisk 下会出错,报错日志:2022/10/23 04:10:30 [Info] app/dns: failed to lookup ip for domain fanyi.baidu.com at server localhost > lookup fanyi.baidu.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address
DNS 配置,!cn 域名使用 fakedns 解析,cn 则使用 localhost 解析
"dns": {
"servers": [
{
"address": "fakedns",
"domains": ["geosite:geolocation-!cn"]
},
{
"address": "localhost",
"domains": ["geosite:cn", "geosite:geolocation-cn"]
}
],
"tag": "dns",
"queryStrategy": "UseIP"
}
预期情况:cn 域名将由 localhost 解析
实际情况:cn 域名一律无法正常解析,只有 !cn 域名正常解析
后来发现同样的 dns 配置,在 v2rayng 能正常使用,在 Xray4Magisk 下会出错,报错日志:
2022/10/23 04:10:30 [Info] app/dns: failed to lookup ip for domain fanyi.baidu.com at server localhost > lookup fanyi.baidu.com on [::1]:53: dial udp [::1]:53: connect: cannot assign requested address联动 XTLS/Xray-core#1265