OneXray 作者说明 TUN DNS 与路由 DNS 的区别

yiguodev 表示,普通路由模式下,通常的 DNS 查询由 Xray 内置 DNS 处理,单独修改 TUN DNS 地址不会改变这些请求所用的解析器,需要修改路由配置里的 DNS 地址。他在这条回复中表示,下一版将允许在智能路由和自定义路由中修改本地/直连 DNS 地址。

作者原文

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.