Files
tailscale/control/tsp
Brad Fitzpatrick e22eaaebfd control/tsp: don't use bootstrap DNS from the noise client
tsp is a protocol library and should not care about the system's routing
table, interfaces, or how to reach DERP for bootstrap DNS. Those are
tailscaled concerns. Without an explicit DNSCache, ts2021 built a resolver
whose LookupIPFallback did bootstrap DNS over DERP whenever the first dial
to control failed, and that path also crashed on tsp's nil netmon.Monitor.

Provide a plain dnscache.Resolver with no fallback so a failed dial is
just a failed dial.

Updates tailscale/corp#47865

Change-Id: If62ddb90139d5590ca3e0e3f54235bbbc0d8aec2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-09-16 07:29:31 -07:00
..