Skip to content

Conversation

@deansheather
Copy link
Member

@deansheather deansheather commented Feb 26, 2025

Tailscale uses the hosts file as they register the tailnet as a search domain, and they want to overcome the ~3s multicast DNS timeout that often happens on home networks when there's a query for a suffixless hostname.

We currently don't use search domains, but we'd probably want to in the future, so instead of removing the hosts file code from coder/tailscale I changed the section identifiers we use.

Also updates some registry paths to avoid conflicting with Tailscale.

Closes coder/coder-desktop-windows#15

@deansheather deansheather changed the title Dean/no hosts windows fix: avoid interference with Tailscale on Windows Feb 26, 2025
@deansheather deansheather requested a review from sreya February 27, 2025 02:47
@deansheather deansheather merged commit c998353 into main Feb 27, 2025
30 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change hosts file code in Tailscale

3 participants