yiguodev:OneXray 按后端区分 Windows DNS 处理,保留 WFP 防泄漏

OneXray 找到桌面 Core wrapper 与 Xray 原生 Windows TUN 的 DNS resolver 重叠配置。待合并的 #269 让 EXE/Wintun 使用 -set-dns=false、由 Xray 处理解析,Microsoft Store/UWP 保持 -set-dns=true,并保留默认 WFP DNS 防泄漏;Windows x64 与定向 CLI/App 测试通过,但报告设备上的完整故障尚未复现,发布后仍需端到端确认。

作者原文

Thanks again for the detailed report. We found overlapping process DNS resolver setup between the desktop Core wrapper and Xray's native Windows TUN path.

The change in #269 (currently pending merge) selects resolver behavior by backend:

  • EXE/Wintun uses -set-dns=false, leaving resolver handling to Xray.
  • Microsoft Store/UWP keeps -set-dns=true.

This retains the default WFP DNS leak protection. The Windows x64 build and targeted CLI/App tests pass. We have not reproduced the complete failure on the reported Windows 10 system, so end-to-end confirmation is still needed.

Closing with the fix tracked in #269. Please continue using the Microsoft Store build for now, and let us know if the issue persists after a release containing this change.