ZeroTierOne icon indicating copy to clipboard operation
ZeroTierOne copied to clipboard

DNS Search Domain Not Working on Android, Routes all DNS Traffic Instead

Open GRAUPS opened this issue 1 year ago • 9 comments

  • What you expect to be happening.
    On Android, I expect ZeroTier to only route dns queries matching the search domain specified

  • What is actually happening? On Android only, ZeroTier is routing all dns traffic to the specified dns server, not just the ones matching the search domain.

  • Any steps to reproduce the error. Install the ZeroTier app on Android, connect to a network setup with a search domain dns and set the app to use the network dns settings. Monitor dns requests on the specified dns server, you'll see all traffic routed through that server. If you shutdown the dns server while Android is connected to ZeroTier, you'll no longer have any internet access on the Android device.

  • Any relevant console output or screenshots. This issue is reported in a few other places without much feedback...
    https://discuss.zerotier.com/t/dns-search-domain-ignored-on-android/23696 https://discuss.zerotier.com/t/using-dns-from-android-app-routes-all-dns-queries-to-zt/5009 https://www.reddit.com/r/zerotier/comments/1ew9eai/dns_w_search_domain_doesnt_work_on_android/

  • What operating system and ZeroTier version. Please try the latest ZeroTier release. Android 15 on Pixel 6a, ZeroTier Android app reports it is version 1.14.0-2

Let me know if you need anything else to diagnose.

GRAUPS avatar Nov 03 '24 23:11 GRAUPS

Same issue here. 1.14.0-2

I am hosting it privatly, but it works on other devices. Can confirm my dns server isnt even hit with any requests.

Tailscale's magic dns does work, however.

All our inventory management devices run android so we're thrown off by this haha

Edit: Im actually having it where it isnt routing any traffic to the DNS server, which is what I thought this issue was before. It just completely ignores my dns server.

W1BTR avatar Nov 06 '24 01:11 W1BTR

Same issue here

Nsttt avatar Nov 09 '24 21:11 Nsttt

Facing the exact same issue as OP while running ZeroTier 1.14.0-2 on a Google Pixel 7.

preppie22 avatar Dec 01 '24 03:12 preppie22

This feels like a fairly major bug, but I guess those of us using this feature is slim

W1BTR avatar Dec 29 '24 20:12 W1BTR

Same issue Android 14 ZT 1.14.0-2

danddorr avatar Feb 21 '25 14:02 danddorr

same issue; android 14 w/Feb 1 2025 sec. patch, ZT 1.14.0-2.

cubikx avatar Feb 28 '25 22:02 cubikx

I'm also interested. Also does not work for me

Phaust94 avatar Apr 06 '25 09:04 Phaust94

Same issue here. On both a Google Pixel 8 pro and Pixel 7 pro, latest app and available OS on both...

ErikHallmark avatar Apr 07 '25 22:04 ErikHallmark

It's a feature, not a bug 😜

If it gets "fixed", please keep a configuration to work as is today. It is helpful to use with Adguard or pihole.

dgenezini avatar Oct 28 '25 08:10 dgenezini