yiguodev 计划在 OneXray 26.10.5 修复缺少 DNS 配置的回退

yiguodev 在 OneXray #235 中说明,日志显示 Xray 回退到没有服务监听的本机 DNS [::1]:53。修复已实现,计划纳入 26.10.5:未定义 DNS 服务器的 Provider 配置和个人 Raw JSON 改用 OneXray 隧道设置的 DNS;已有 DNS 服务器配置保留原设置,导入的原 JSON 不变。作者称已在 Android 17 模拟器验证两类配置,以及同一原生进程内停止再连接。26.10.5 可用前,可临时使用显式填写 dns.servers 的配置。

作者原文

Thanks for the report and the DNS log. The log shows Xray falling back to localhost DNS ([::1]:53), where no DNS server is listening.

The fix is implemented and will be included in OneXray 26.10.5. Provider configurations and personal Raw JSON without DNS servers now use the DNS configured in OneXray's tunnel settings. Configurations that already define DNS servers retain their own DNS settings, and the original imported JSON is kept unchanged.

Verified on an Android 17 emulator with both provider and Raw configurations, including stopping and reconnecting in the same native process. Until 26.10.5 is available, please use a profile with an explicit dns.servers configuration.