Are you able to do this with an app, naively, or with a specific custom ROM? I want to use pfBlocker/Pi-Hole when I am at home on Wi-Fi but I want to set the DNS server to dns.adguard.com when I am on LTE. The 'Private DNS' option in Android sets the DNS provider system wide. It doesn't matter if it is LTE or Wi-Fi.
Related
Is there a way to make WM6 store the specific IP and DNS settings for an individual network?
When I have the settings configured for my home network it works great but having to change them and reset them each time I connect to a public network it a pain.
I'm currently using Proxydroid and it works great in my office corporate wi-fi network, all my apps can access the internet and I have no problems. However, when I set it up for my school wi-fi proxy, it doesn't work.
My school's wi-fi proxy has authentication but the actual network is not protected, my office wi-fi proxy is the other way around, the proxy does not need authentication but the network is WPA Enterprise protected.
I'm running CM9 with a nightly build. I tried setting up the proxy directly in the wifi settings and when I do it and browse through CM9's browser, I input my username and password and I can browse the internet fine, but only through the browser. My other apps can't access the internet.
Help?
Same problem here... Anyone ?
Hi,
I am currently trying to find a way to change the DNS settings on my S II. I want to implement the posibillity to set the DNS IP in the settings of my cyanogenmod ROM.
But it seems like its impossible to set a custom DNS for mobile networks on the SII.
I found out that Android stores its DNS settings as properties.
- net.dnsX for the current active DNS
- and also dhcp.wlan0.dnsX when connected to WiFi,
- or net.rmnet0.dnsX when connected to a mobile network.
I was able to change this settings manually with the "setprop" utility and also automatically by modifying "20-dns.conf" from dhcpcd for WiFi and "ConnectivityService.java" for mobile networks.
For WiFi this works without any problems, but for mobile networks these settings seem to be ignored completely. Android still uses the DNS settings from my provider. I was searching through the complete android source to find an indication where the dns settings are stored that are actually used, but I have found nothing.
First I thought my provider is routing all requests to port 53 to their own servers but even if I set the DNS address to 127.0.0.1, all requests are still resolved.
Has anyone tried this before or even sucsessfully changed the DNS settings for mobile networks on the S2?
I belive the DNS settings for mobile networks are handled in some binary blobs (from Samsung?), maybe libsec-ril.so.
Does anyone have what I can do?
While searching through the net I found out that this is working for other devices, so I dont really understand why samsung would ignore the properties in their code.
Siloportem
Hello,
Since Imgur.com is blocked in my country I'm trying to change the DNS settings of the data network (3G) and I've tried lots of apps already, but none of them worked.
1) Maybe a silly question but why is it so difficult to change the data network's DNS settings ? Aren't the DNS IP's written in some file ?
2) Is it possible to change the DNS to Google DNS without using an app and / or VPN ?
3) Which app would do the trick ? Any recommendations for the HTC One Max ?
I'm on Android 5.0.2 (NuSense6).
Thanks in advance.
I will make this quick, and I hope to see some insight into that question:
We all known how sensitive the DNS Service is. With most of our carriers/ISP proving the service, is not a surprise that lots of people are pressuring vendors to include more privacy-focused DNS services. And that is justified, with that information a company is able to infer lots about you, what banks you have an account, what is your e-mail provider, what porn sites you like to visit and etc, basically is possible to know pretty much everything you do online. Another aspect is that, if your Carrier/ISP got pwned, you are in bad sheets, as the hacker may redirect legit traffic to a custom server, waiting to -eager- to receive your connection and fool you.
Our best bet is to be able to change, and possible setup our own DNS service if paranoid.
Now, we have on Android an option to ask the system to use a encrypted connection to reach a DNS server on the Internet. This feature is called "Private DNS". That would be a solution, if Google were actually *enforcing* the config. Even if I use an VPN, the Carrier is able to ask the system to add a *custom route* that will redirect the traffic going to the Carrier DNS server *out* of the VPN. And if you use a VPN connection and your carrier do not enforce a route to their DNS, you will not be able to use Google's Private DNS as it doesn't work while a VPN is connected.
If you ask me, this is pretty much BS. There is zero need to have a VPN to push a DNS server, but what really shook me is that Google pushed the Private DNS, over TLS and over HTTPS but that setting is not global in the system. What the actual ****?!
The fact that I may need to root the device in order to control the DNS configuration is so bad.. I can't even express how I fell about that.
Any thoughts about the matter? Have you managed to control the DNS config without root and wifi tricks?
felco