OneXray|科学之家 kexuezj.com
OneXray · 科学之家
yiguodevOneXray 开发者
GitHub·2026.09.11 14:53:49(UTC+8)

OneXray:普通路由 DNS 由内置 DNS 处理,改 TUN DNS 不够

yiguodev 说明正常路由模式下常见 DNS 由 Xray 内置 DNS 处理,只改 TUN DNS 地址不会改变这些请求;需改路由配置里的 DNS。他表示下版将允许在智能/自定义路由修改本地/直连 DNS。

作者原文@yiguodev

Thank you for the report.

In normal routing mode, typical DNS lookups are handled by Xray's built-in DNS. Changing the TUN DNS address alone therefore does not change the resolver used for those requests; the relevant setting is the DNS address in the routing configuration.

The next release will allow you to customize the local/direct DNS address in both Smart Routing and Custom Routing. Closing this issue with this improvement scheduled for the next release.