OneXray:HTTPS 转发代理下的 UDP DNS 已改用 TCP 解析并完成验证

yiguodev 说明,Xray HTTP outbound 不承载 UDP,导致 HTTPS forward proxy 下默认 UDP DNS resolver 失败;OneXray 已在 dev-26.11.3-1 将默认解析器改为 tcp://8.8.8.8、为转发记录使用 rewriteNetwork: tcp,并让高级路由模板通过 proxy balancer 转发非 A/AAAA 查询。作者称已在实体 iPhone 和 Core 层完成 A、AAAA、TXT 检查验证;已有保存 UDP resolver 的配置需手动改为 TCP 或 DoH。

作者原文

Confirmed: Xray's HTTP outbound cannot carry UDP, so the default UDP DNS resolver failed through HTTPS forward proxies.

Implemented in 20e54263 on dev-26.11.3-1:

  • App-managed default DNS resolvers now use tcp://8.8.8.8, including All Via VPN.
  • App-generated DNS outbounds use rewriteNetwork: "tcp" for forwarded records such as TXT.
  • New advanced routing templates forward non-A/AAAA queries through the proxy balancer instead of dropping them.

Verified on a physical iPhone with a local HTTPS forward proxy, and with Core-level UDP/TCP A, AAAA and TXT checks. The advanced template's round-robin and least-ping proxy paths were also verified at Core level.

Existing settings, advanced templates and saved Widget/Control Center startup requests are intentionally unchanged. After installing a build containing this fix, existing Smart/custom profiles with a saved UDP resolver need that address changed manually to tcp://8.8.8.8 or DoH. Reconnect from the App to generate a fresh startup request; existing advanced templates retain their saved rules.

Closing as fixed in development.