You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tailscale seemingly interferes with internet connectivity #6891
Occasionally when Tailscale is enabled I lose the ability to reach the internet. It gets fixed after turning Tailscale off, so my first guess is something to do with the Tailscale config. This has happened to me on Android as well as MacOS Monterey. It is not clear what the trigger is because it does not happen all the time. For e.g. right now as I file this Tailscale is enabled:
Is there anything I can do to debug this a little more?
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
If you disable "Use Tailscale Subnets" does the connection works as intended? If so, could it be that you have an advertised network in your tailscale network with the same network subnet as your current network?
Even with no tailscale subnets configured and when not using an exit node, I've had this issue on Android recently (e.g. browser can't reach the internet until I turn off tailscale). It seems like it only happens when I'm not on Wi-Fi, and my cellular IP address is in the 10.x.x.x range, so these two comments make me wonder if this is due to CGNAT. [1] [2]
@skarra does that sound like it could be the case for you too?
Matan, I can check toggling that switch next time it happens; but other than that I could not follow what you are saying. Tailscale is installed on all the nodes I am interested in, and I have not done anything to actually set up one of the nodes as a tailscale subnet router.
Alex,
Issue #6739 seems similar enough, but FWIW I am seeing the problem on both Android and Mac.
On Android it has happened only when on cellular data (not on Wi-Fi). I have not checked the IP addr when it happened then. But on MacOS this happens on Wi-Fi (there is no cellular data). ifconfig on the mac showed this when I could not ping google.com:
I have this issue as well and only with recent versions of tailscale.
Internal network: 10.0.0.0/24 (does not overlap with any subnets we have on tailnet)
Internet service independantly checked - no ping timeouts occurring when a device is directly attached to the internet service
Other PCs that are connected to the same network hardware, that are not using tailscale are unaffected and don't have internet drop outs when ping is attempted against the same internet host that I test on my tailscale connected PC
See 4 x 'Destination net unreachable' ping replies and then the ping responses resume working again
Have tested two separate NICs in my PC, behaviour is present in both NICs
The behaviour does not occur at all when the tailscale service is shut off on my PC
We use magic DNS but only for an internal subnet which I don't believe is being used when I ping an internet service
Specs:
Windows 10 Pro 64-Bit 19045
NIC: Realtek Gaming 2.5GbE Family Controller and Realtek PCIe GbE Family Controller (two separate NICs, only one used at a time)
Tailscale version: 1.34.1 - I have seen this in the last couple of versions.
It seems to be periodical - I have updated to version 1.34.2 and it isn't happening at the moment but I'll report back if it returns.
This keeps happening on my Android phone and quite annoying as it prevents me from keeping Tailscale running all the time in the background. Is there anything I can do to help debug the issue?
I would still love to have a solution other than "disable Tailscale's DNS features". Have we been able to troubleshoot where exactly this is going wrong? I'm tempted to dig in and get to the actual root cause of this.
@codecat I think tailscale is basically MITMing the DNS traffic machine-wide when it's set to use tailscale DNS, right? So perhaps the underlying issue is that tailscale is not upstreaming all requests properly to the origin server. I wonder if we could MITM the MITM by setting up some kind of DNS logging server on a machine and then set tailscale to use MagicDNS and then have it look up a bunch of nonexistent domains (that way it's not cached and must go upstream). do it every second in a loop and see if there's some pattern to it or something. Compare requests to tailscale vs actual requests that hit the logger DNS to look for discrepancies.
I totally removed tailscale from my network a while back because of this issue, so I don't have it set up to investigate, but really interested in seeing this resolved so I could go back to using it.
Pixel 6 Pro here. Whenever I have tailscale app activated and I'm on cell network instead of wifi only tailscale destinations can be browsed to. All others timeout.
I tried to use the suggestion from #6891 (comment) of disabling overriding global DNS but the setting is already off, and disabled so I can't turn it on anyway.
Here's the bug report code from the 3-dot menu in the app:
BUG-ad14ae0dda10038485fcef9581219c54e2c58e65fcced7e74af2583bef5194d4-20240411030037Z-d9219a4915792496
Same problem here on Windows 11. It is running and online in the tray, but offline in the admin console and I cannot ping any of the other network pcs. It is isolated to just Windows.
Came across this issue today and discovered that the solution above from chocolate42 to disable MagicDNS from within Tailscale web portal DNS settings has resolved my issue. Override local DNS was already disabled and I added google DNS servers for good measure (not sure if adding google DNS made a difference or not).
Hope this helps others.
Thanks
This is an extremely generic issue that could be caused by a variety of reasons. In most of the cases here DNS seems involved, along with exit node misconfiguration, routes, bad interface switch detection, etc.
The comments here for the past 1.5 years have all been pointing at different causes, on different platforms, with different root causes. Most likely, some of the problems have probably been fixed in the meantime. All of this makes it hard to understand what this issue is actually tracking, so I'll be closing this.
If you experience a connectivity issue, please file a new issue with a bug report identifier. Or even better, please contact support. They can look at telemetry from your clients to understand what is actually going on.
Reacted by Ryan Ovas, btdeviant and Ranjan R. Lamichhane
The issue is definitely not resolved, at least on Android. When magic DNS is enabled sometimes websites simply won't load which requires us to have to selectively turn tailscale on and off when we need it. The only common solution I've seen in this thread is to disable magic DNS completely, which doesn't seem like it should be the final accepted solution here.
@ryanovas as I already mentioned above, please open a new bug report with a bug report identifier, noting your app and Android versions, and specifying that it only occurs on Android when MagicDNS is enabled. Provide as many steps as possible to reproduce. If you have multiple devices affected as you mentioned, please attach multiple bug report IDs from each device.
I do want to fix the issue you're experiencing, but the team cannot make sense of what problems users are currently experiencing when a bug report originally mentioning macOS that is almost two years old gets resurfaced without any recent diagnostic information available. There have been dozens of different MagicDNS fixes since this issue was open, affecting different platforms. For instance, I'm quite sure the issue reported by OP originally was fixed by a change that went into Tailscale 1.58.0. The issue you're seeing on Android has most likely a different root cause, and is likely caused by a custom configuration since the majority of our users are not hitting it. Hence the need for a bug report identifier, so that our team can look at your config too.
We just cannot keep track of which change fixed which issue when very old bug reports keep getting used years later to track issues with different root causes on different platforms. Hope you'll understand.
Activity
matan7890 commentedon Jan 4, 2023
If you disable "Use Tailscale Subnets" does the connection works as intended? If so, could it be that you have an advertised network in your tailscale network with the same network subnet as your current network?
alex-robbins commentedon Jan 5, 2023
Even with no tailscale subnets configured and when not using an exit node, I've had this issue on Android recently (e.g. browser can't reach the internet until I turn off tailscale). It seems like it only happens when I'm not on Wi-Fi, and my cellular IP address is in the 10.x.x.x range, so these two comments make me wonder if this is due to CGNAT. [1] [2]
@skarra does that sound like it could be the case for you too?
skarra commentedon Jan 5, 2023
Matan, I can check toggling that switch next time it happens; but other than that I could not follow what you are saying. Tailscale is installed on all the nodes I am interested in, and I have not done anything to actually set up one of the nodes as a tailscale subnet router.
Alex,
Issue #6739 seems similar enough, but FWIW I am seeing the problem on both Android and Mac.
On Android it has happened only when on cellular data (not on Wi-Fi). I have not checked the IP addr when it happened then. But on MacOS this happens on Wi-Fi (there is no cellular data). ifconfig on the mac showed this when I could not ping google.com:
matan7890 commentedon Jan 5, 2023
I would check the routing table when this happen again, maybe it's a routing problem?
daavidb commentedon Jan 5, 2023
southernfm commentedon Jan 7, 2023
I have this issue as well and only with recent versions of tailscale.
Internal network: 10.0.0.0/24 (does not overlap with any subnets we have on tailnet)
Specs:
Windows 10 Pro 64-Bit 19045
NIC: Realtek Gaming 2.5GbE Family Controller and Realtek PCIe GbE Family Controller (two separate NICs, only one used at a time)
Tailscale version: 1.34.1 - I have seen this in the last couple of versions.
It seems to be periodical - I have updated to version 1.34.2 and it isn't happening at the moment but I'll report back if it returns.
daavidb commentedon Jan 7, 2023
skarra commentedon Feb 24, 2023
This keeps happening on my Android phone and quite annoying as it prevents me from keeping Tailscale running all the time in the background. Is there anything I can do to help debug the issue?
chanux commentedon Feb 25, 2023
38 remaining items
codecat commentedon Apr 8, 2024
I would still love to have a solution other than "disable Tailscale's DNS features". Have we been able to troubleshoot where exactly this is going wrong? I'm tempted to dig in and get to the actual root cause of this.
lukevp commentedon Apr 8, 2024
@codecat I think tailscale is basically MITMing the DNS traffic machine-wide when it's set to use tailscale DNS, right? So perhaps the underlying issue is that tailscale is not upstreaming all requests properly to the origin server. I wonder if we could MITM the MITM by setting up some kind of DNS logging server on a machine and then set tailscale to use MagicDNS and then have it look up a bunch of nonexistent domains (that way it's not cached and must go upstream). do it every second in a loop and see if there's some pattern to it or something. Compare requests to tailscale vs actual requests that hit the logger DNS to look for discrepancies.
I totally removed tailscale from my network a while back because of this issue, so I don't have it set up to investigate, but really interested in seeing this resolved so I could go back to using it.
maphew commentedon Apr 11, 2024
Pixel 6 Pro here. Whenever I have tailscale app activated and I'm on cell network instead of wifi only tailscale destinations can be browsed to. All others timeout.
I tried to use the suggestion from #6891 (comment) of disabling overriding global DNS but the setting is already off, and disabled so I can't turn it on anyway.
Here's the bug report code from the 3-dot menu in the app:
BUG-ad14ae0dda10038485fcef9581219c54e2c58e65fcced7e74af2583bef5194d4-20240411030037Z-d9219a4915792496
stark1tty commentedon Apr 15, 2024
Same problem here on Windows 11. It is running and online in the tray, but offline in the admin console and I cannot ping any of the other network pcs. It is isolated to just Windows.
AlienatedCargo commentedon May 21, 2024
Came across this issue today and discovered that the solution above from chocolate42 to disable MagicDNS from within Tailscale web portal DNS settings has resolved my issue. Override local DNS was already disabled and I added google DNS servers for good measure (not sure if adding google DNS made a difference or not).
Hope this helps others.
Thanks
agottardo commentedon May 21, 2024
This is an extremely generic issue that could be caused by a variety of reasons. In most of the cases here DNS seems involved, along with exit node misconfiguration, routes, bad interface switch detection, etc.
The comments here for the past 1.5 years have all been pointing at different causes, on different platforms, with different root causes. Most likely, some of the problems have probably been fixed in the meantime. All of this makes it hard to understand what this issue is actually tracking, so I'll be closing this.
If you experience a connectivity issue, please file a new issue with a bug report identifier. Or even better, please contact support. They can look at telemetry from your clients to understand what is actually going on.
ryanovas commentedon May 21, 2024
The issue is definitely not resolved, at least on Android. When magic DNS is enabled sometimes websites simply won't load which requires us to have to selectively turn tailscale on and off when we need it. The only common solution I've seen in this thread is to disable magic DNS completely, which doesn't seem like it should be the final accepted solution here.
agottardo commentedon May 21, 2024
@ryanovas as I already mentioned above, please open a new bug report with a bug report identifier, noting your app and Android versions, and specifying that it only occurs on Android when MagicDNS is enabled. Provide as many steps as possible to reproduce. If you have multiple devices affected as you mentioned, please attach multiple bug report IDs from each device.
I do want to fix the issue you're experiencing, but the team cannot make sense of what problems users are currently experiencing when a bug report originally mentioning macOS that is almost two years old gets resurfaced without any recent diagnostic information available. There have been dozens of different MagicDNS fixes since this issue was open, affecting different platforms. For instance, I'm quite sure the issue reported by OP originally was fixed by a change that went into Tailscale 1.58.0. The issue you're seeing on Android has most likely a different root cause, and is likely caused by a custom configuration since the majority of our users are not hitting it. Hence the need for a bug report identifier, so that our team can look at your config too.
We just cannot keep track of which change fixed which issue when very old bug reports keep getting used years later to track issues with different root causes on different platforms. Hope you'll understand.
Explosion-Scratch commentedon Oct 20, 2024
This was happening to me on linux, I fixed it with :
sudo ip route add default via 192.168.12.1Nallak commentedon Nov 6, 2024
For me problem got solved -> comment of joeynguyen
joemarkey6 commentedon Nov 8, 2024
Im having this issue now, the above fix doesnt work for me.
If I exit tailscale I have internet, if I enable it I have RDS but no internet
armanrozika commentedon Dec 9, 2024
i am having this issue as well, but only with Brave browser, other browsers seem to work just fine
agottardo commentedon Dec 9, 2024