-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tailscale client on windows sometimes cannot resolve login server address #6212
Comments
If it hasn't connected to the Headscale server then it hasn't received a DNS config and will still be using whatever DNS servers were set from DHCP in the underlying OS. Are there multiple network interfaces or other VPNs running? Perhaps the DNS queries are going to an interface which doesn't actually have Internet connectivity. |
Been receiving the same error -- also with a self-hosted Tailscale server. I've noticed that after explicitly disabling the unused Ethernet adapter on my laptop, the connection succeeds over Wi-Fi. This confirms what @DentonGentry said in regard to the queries going through a network interface which doesn't have Internet connectivity. I wonder if it's possible to specify the adapter which Tailscale would use, or have Tailscale try another NIC when the current one fails to query. |
In my laptop wireshark show tailscale attempted to request some other dns server, but those server(seem to be tailscale default config) cannot be access from some area like mainland China, after a long time, tailscale use os dns server ,but golang context deadline exceeded |
Almost the same question here, also in mainland China. It seems like offical derp server went wrong. Is there any method to config derp server mannually before tailscale goes up and fetch custom derp server settings?
|
I faced the same problem in China mainland |
@DentonGentry |
Same here, disabled all unused network interfaces and explicitly added a record in |
UPD: |
I think I find why system dns settings not working. |
Same problem in China mainland. |
I have solved this problem through operation on my end! 谢啦哥们,困扰我好久了,时断时续。 |
Same issue with Tailscale and Headscale, disabling (currently) unused interfaces solved the issue for now. Tailscale should do dns lookups like any other program to avoid this issue. |
I encountered the same problem, I manually changed the DNS to |
Set second DNS to 114.114.114.114 solved my issue in China Mainland. |
Great, this works for me. Thanks. |
What is the issue?
tailscale client sometime cannot resolve my own login server(headscale on my Hong Kong vps) address , I think it caused by golang dns resolver because system dns work correctly.
I try curl to fetch key directly, it returns as expected.
Maybe gfw block tailscale dns server?
tailscale status show:
Health check:
# - not logged in, last login error=fetch control key: Get "https://xxx.com/key?v=46": failed to resolve "xxx.com": no DNS fallback candidates remain for "xxx.com"
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
No response
OS
Windows
OS version
win11
Tailscale version
1.32.2
Bug report
No response
The text was updated successfully, but these errors were encountered: