mirror of
https://github.com/daeuniverse/honk.git
synced 2026-12-06 16:01:20 +00:00
Audit of every resolver in the tree found six spots still bypassing honk's DNS stack; all now share it: - urltest (clash delay): optional UrltestResolver hook, installed by honk-core against DnsController::resolve_domain — delay measurements follow dns.routing/cache/serve-stale instead of the system resolver - alive: raw-TCP fallback probe and startup check-URL seed resolution use the same ResolveHook instead of lookup_host - udp_check_dns: domain entries resolve through the internal DNS hook (literal entries still win), reload-safe via DnsController - subscriptions: reqwest gets a reqwest::dns::Resolve backed by the bootstrap resolver (bypass-marked), so subscription fetches no longer depend on a poisonable system resolver Verified live on the gateway with a split-DNS config (223.5.5.5 UDP + dns.alidns.com DoH + dns.alidns.com DoQ + 1.1.1.1 DoH3): baidu/google/bing resolve via their designated upstreams, the environment-blocked DoH3 upstream fails isolated (other domains unaffected), and health-check resolution degrades to the system fallback when the internal path has no answer. Adds ci/dns-ci.sh + just dns-ci gate (fmt, clippy, config, dns, control, outbound suites) — ALL GREEN.