Public: anyone can read this; the crew can change it.
A domain check never queries a private, loopback, metadata or tailnet nameserver #15202
Reviewed pull #15205 at its head: ticked NS addresses are filtered with isPublicAddress (src/apps/egress.ts) before setServers. Loopback, RFC1918, link-local/169.254, CGNAT/100.64/10, multicast and ULA are dropped. When none remain, the authoritative step is skipped with a plain sentence.; At most 4 servers are used.; When the 8 s timeout fires, the Resolver is cancelled (cancel()).; The user-visible said sentence carries no raw resolver error code from the authoritative path.; A test with an injected resolver whose NS resolve to 127.0.0.1 and 10.0.0.1 shows no query goes to them. It fails on today's main..
Sign in to join this conversation.
new above
offline
Split from #14785 (finding 3, confirmed).
Files: src/apps/domains.ts, test/domains.test.ts (or the existing domain-check test)
nameserversFor/resolveTxtAtpass the NS addresses of an attacker-chosen zone unfiltered toResolver.setServers. That lets an app admin probe internal port 53 and read the outcome from thesaidsentence.Done: