42
linuxxx
85d

Pro tip: never set custom script stuff related to dns server forcing things in a root firewall app if you don't know what you're doing.

How would I know? There's a slight chance that I just went offline for a few days (mobile only) to figure this shit out 😅

All fixed now, though!

Comments
  • 4
    Does anyone actually know how to force the use of a certain dns server on android? (rooted)
  • 2
    It's always dns.. Oh well, the price of tinkering and freedom!
  • 1
    5 upvotes within 30 seconds?! Damn son 😶
  • 2
    @linuxxx AFAIK, you have to do it per network. Not found a way to do it on mobile data
  • 2
    @linuxxx notification squad!
  • 2
    Blokada? No root but requires active VPN
  • 0
    @hypervtechnics yeah quite a few vpn apps force dns, but if he's using a vpn that doesn't have the option...
  • 0
  • 1
    @epse I'm using a vpn fulltime 😅
  • 1
    @linuxxx I know there was an app DNS switcher on google play at some point and apps like ROM Toolbox could do it. But all of them are somewhat sketchy
  • 1
    Personally I'm using OpenVPN for Android (non-root) to connect to my VPN servers, which resolve using 10.8.0.3 and 10.8.1.3 depending on which server I'm connected to. On just WiFi it just parses whatever my DHCP server advertises. So that'd be 192.168.10.3. You just have to set it on your router or whatever is advertising the DNS server over DHCP (i.e. your dhcpd).
  • 1
    For local DNS, I'd highly recommend to connect it to your VPN as well if you're using personal servers. That way you can access your own DNS from anywhere, and it is protected by your VPN as well 🙂
  • 4
    Since Android Pie I have this option in the network settings. Can't tell if it's a function from OxygenOS (OnePlus) or aosp.
  • 1
    @Forside it's common in all of Android Pie 🙂
    (Screenshot from StatixOS - Android 9 on angler)
  • 0
    @Condor You're showing the settings of a specific wifi connection. I mean the system wide DNS dialog.
  • 0
    @Forside system-wide DNS specification on the client isn't implemented on Android yet afaik. It's something that Android takes from the DHCP server, so currently that's the place where you'll want to specify your preferred DNS server.
  • 2
    @Condor Well I just know that I have this option ^^ It's independent from the connections and is always applied (maybe overwritten by specific dns settings for a single connection, if not set to automatic).
  • 2
    @Forside oh yeah, that.. it's on OxygenOS 9.0.5 as shown
  • 1
    @Forside and on angler it is this
  • 1
    @Condor @Forside that setting *is* system-wide.
    Settings > network & internet > advanced > private dns. No network selection required.
  • 1
    @svgPhoenix did the image not upload? 🤔
Your Job Suck?
Get a Better Job
Add Comment