Clash by Hako|科学之家 kexuezj.com
Clash by Hako · 科学之家
tokenplsClash by Hako 创作者与 Hako 内核核心维护者
GitHub·2026.09.06 11:05:27(UTC+8)

TokenPLS:Hako 下一版启动时读取物理网卡 DNS 解析器

TokenPLS 更新称该能力已实现并将进入下一版 macOS / iOS:启动时经系统 resolver 库读取物理接口 DNS,并交给核心;system 与 dhcp:// 等行为细节见下方原文。

作者原文@TokenPLS

Update: this is implemented and is in the next macOS and iOS releases. At start, the client reads the physical interface's resolvers through the system resolver library and hands them to the core; system (and dhcp://) is replaced by those resolvers in every resolver field, nameserver-policy included, so domains assigned to system resolve through your corporate DNS instead of NXDOMAIN. Verified on macOS and iOS that the tunnel now sees the interface's resolvers at start. If a domain still answers NXDOMAIN on the new build, the extension log line system resolvers before the tunnel: shows what it read — please paste it.