-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MagicDNS seems broken on Android with v1.8.3 #1956
MagicDNS seems broken on Android with v1.8.3 #1956
Comments
I'm seeing the same (I assume) issue on Android 1.8.3. I'm not using MagicDNS, but I do have one Tailscale device set as the DNS server. My Android device is no longer using it for name resolution. I wasn't having any issues on 1.6.0, and my other Tailscale devices are still doing name resolution correctly. |
Could you look in https://login.tailscale.com/admin/dns (which substantially changed yesterday) to see if:
|
For me
|
Same issue for me too and only affecting my Android devices (Samsung Galaxy S10+ and Tab S7 on v1.8.3). Macbook, RPi and Windows machines all working fine.
|
My settings:
|
Same issue for me too (only affects my Android 10 phone).
|
Could (at least) one of you provide the tailscale IP of your android device that's misbehaving, so I can poke at debug logs? This behavior is doubly confusing because we don't yet support split DNS on android (we always use the global resolvers when DNS managemnt is enabled), so it's kind of amazing that we somehow end up doing the opposite. |
The tailscale IP |
Dug up my kindle fire which still had android version 1.6.0 on it and it's having the same issue so not sure it's related directly to the 1.8.3 android app version. Connecting via IP address confirmed working on both android devices. Kindle Fire - 1.6.0 - 100.115.215.89 |
I'm also seeing the issue of an Android phone (100.88.59.20) using its default DNS instead of the Tailscale-configured DNS server (100.106.147.120). MagicDNS is not enabled. In a somewhat similar but more breaking fashion, a Chromebook (100.71.81.104) running Tailscale Android seemingly has DNS completely broken any time Tailscale is enabled, regardless of the DNS settings selected in Tailscale. Below is the Chromebook network diags: Both of these cases started immediately after taking the 1.8.3 upgrade; unfortunately downgrading is not feasible :( so I can't verify that downgrading resolves. |
I have the same issue on my chromebook as @danopia with no DNS servers configured in Tailscale. Regardless of what I configure manually in ChromeOS Tailscale sets the nameservers to 0.0.0.0. I tried setting DNS servers in the Tailscale admin UI and reinstalling the Tailscale app and there was no change in behavior, network configuration for the VPN connection still had all custom DNS with 0.0.0.0. |
Just downgraded to 1.6.0 on my android phone to test and can confirm it does still work. Must just be my fire tablet that's an issue based on my last message. |
I'm experiencing the same issue. I have magic DNS enabled and local DNS overridden. |
Oddly, I have not been able to produce this. I'm running Tailscale 1.8.3 on a Pixel 3a running Android 11. My https://login.tailscale.com/admin/dns has:
I'm able to reach my devices using MagicDNS names. |
For more information, both machine names and auto-assigned dns names(xxx.beta.tailscale.net things) do not work for me. But there was no such issue on previous Android versions. |
I have the same issue. Connecting directly by IP to other nodes works. Edit: Downgrading to v1.6.0 solves the problem on my Pixel 5. |
I quickly tried this after seeing your comment about a working split DNS configuration on Android, but I still wasn't resolving names on my tailscale DNS server. I didn't investigate for too long though. |
I can also confirm that the problem persists after adding a split DNS server. |
I checked Tailscale logs through ADB (
Also I tried to downgrade to Tailscale 1.6.0 and that resolved the problem. |
I've upgraded to 1.8.6, and my Android device still isn't using the Global Nameserver set in the admin panel. I haven't been using Magic DNS, so maybe this is a separate issue? I've toggled Tailscale on and off and swtiched from WiFi to LTE a few times to see if it might knock things into place but no luck. |
Like @ccesare said, I have just installed 1.8.6 on pixel 5 and on a chromebook and on both the DNS servers set from my admin panel are not set. |
I can confirm that 1.8.6 doesn't fix the issue. I also rebooted the phone just for good measure. |
Reopening issue, will look. |
Using NewNoopManager avoided the errors from trying to overwrite /etc/resolv.conf, but still didn't fully work. Route DNS config through the CallbackRouter. Fixes tailscale/tailscale#1956 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Using NewNoopManager avoided the errors from trying to overwrite /etc/resolv.conf, but still didn't fully work. Route DNS config through the CallbackRouter. Fixes tailscale/tailscale#1956 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Using NewNoopManager avoided the errors from trying to overwrite /etc/resolv.conf, but still didn't fully work. Route DNS config through the CallbackRouter. Fixes tailscale/tailscale#1956 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Hi @DentonGentry Or will it be the next android app version that will include the fix? I do see this released: https://github.com/tailscale/tailscale-android/releases/tag/v1.8.6-t28a8f9c90-g04890797712 |
Yes the next update has fixed the issue for me. I joined the beta channel to get the update, it might take a couple of days I guess to come out normally. The release date shown is 29 of May I am running v1.8.6-t28a8f9c90-g04890797712 from the beta channel and it works |
Thanks @ledakis! I will wait. |
Yep, the latest update also fixes the issue for me. Thanks @DentonGentry! |
The first attempted fix, 1.8.6-t28a8f9c90-gff16a75a65c released 5/28, only resolved one symptom and the main problem remained. The second fix, 1.8.6-t28a8f9c90-g04890797712 released 5/29, resolved the rest of the problem and is the one people are reporting as fixing it. The Play Store should be offering the update to everyone, it isn't in a beta channel or early access. The F-Droid release hasn't updated yet, but I expect it to soon. |
Yes, the update does fix it, thanks! |
Sorry to resurrect a dead Issue, but this latest update seems to have caused this issue for me.
Since updating this morning to the latest Android app version, no DNS queries resolve on Android. |
I see the same kind of problem:
Lookups for names in the splitted/scoped domain never reaches the nameserver set from Android It works fine from OSX I think I maybe read earlier that scoped dns/split dns was not supported on Android yet? |
I also have similar problems.
|
Ah yes, I see the behaviour @tdalbo92 and @HasseJohansen mention. With overwrite turned off and setting a split dns record, on Android latest version ( v1.8.6-t28a8f9c90-g04890797712 ) the DNS server is actually set to the tailscale magic DNS server ( All non-tailscale DNS queries seem to hang because of this. Regarding what @cavedano8 said, if split dns is off, it works fine for me. I assume like @HasseJohansen said that split dns is not supported on Android since there has to be some sort of internal conditional dns forwarder on the device and it is not set currently. |
I see something similar (100.66.241.34 with v1.8.6-t28a8f9c90-g04890797712). MagicDNS enabled, global nameserver set to 192.168.1.11 (local network resolver), and override local DNS is enabled. When I'm on the local network (192.168.1.0/24) then DNS requests like Are the upstream DNS requests made using regular UDP ports by the tailscale daemon? On Android a VPN client's connections will not be routed via the tun interface, so it's possible that the upstream DNS requests are not being sent back to tailscale. I suspect that tailscale will need to send the DNS requests internally if the upstream DNS server address is in the list of routes to route to tailscale (because the routing set up by the kernel won't do that for you). |
(also note that the logcat entry for |
Is this eligible to be reopened? Or do we need a separate Issue to track this? I haven't been able to use Tailscale on my phone for a week or so because of the regression. |
Ah: best to open a new issue, as this one has a long set of comments about the original issue |
Created #2102 , thanks! |
Did you get a resolution? GrapheneOS android 13 and I see the same behaviour you do in this post |
It is best to open a new issue, as this one has a long set of comments about the original issue. |
General DNS resolution works but requests are routed to the DHCP announced nameservers. My account has MagicDNS enabled and has an internal nameserver (using a 100.x.x.x address). My other devices work find (none of them are Android).
I'm not sure how to provide more detailed information...
The text was updated successfully, but these errors were encountered: