
OneXray:补齐 FakeDNS 域名恢复,将随下一版提供开关
yiguodev 说明应用管理的 TUN 入站曾缺 FakeDNS 域名恢复,仅在 Raw JSON 加 FakeDNS 不够;修复会启用相应嗅探,并在智能/自定义路由提供默认关闭的 Use FakeDNS。发言时尚未发版。
作者原文@yiguodevThanks for the detailed report. The App-managed inbound was missing FakeDNS domain recovery, so simply adding a FakeDNS server in Raw JSON was not sufficient.
We have implemented a fix for the next release:
- Raw JSON configurations using FakeDNS now automatically enable
fakednssniffing on the App-managedtunIn, while preserving the original configuration, user-defined DNS servers, address pools, and additional inbounds.- Smart Routing and Custom Routing now provide a Use FakeDNS option, disabled by default. Custom Routing also preserves this setting when importing or sharing configurations.
- Direct-domain DNS matching remains prioritized, and
IPIfNonMatchcontinues to use real DNS for its IP-based routing pass.FakeDNS mappings remain session-local, so cached fake IPs may require a fresh DNS lookup after disconnecting or restarting the core.
Closing this as fixed. The changes are not yet in a published release; please retry after updating to the next release and let us know if the problem persists.