Linked Questions

24
votes
6answers
84k views

How to change mobile connections's DNS on Android KitKat?

I want to avoid censorship from my local mobile ISP (it blocks imgur, for example, for some unknown reason. Screenshot (click image for larger variant) I'm pretty certain that I can circumvent this ...
24
votes
4answers
135k views

Change DNS for mobile data without using an app

(My phone is rooted and runs Android 5.1) How can one change the DNS addresses of mobile data (and persistently, if possible) without the requirement of an app?
17
votes
3answers
32k views

Why is Android refusing to resolve DNS records pointing to internal IP addresses?

I have a very strange behavior on an Android device (Nexus 7) when trying to access local network applications. Instead of getting the actual IP of the machine on LAN, the Android device gets the ...
5
votes
1answer
4k views

How does Android OS do DNS name resolution?

I am learning about how Windows does name resolution and need to know how Android does it so an app will work on my Windows laptop and from my Android Phone. Borrowing from a post on superuser.com, ...
1
vote
3answers
7k views

Is it possible to set DNS for mobile network

I live in Canada and use an unblocking service to access US Netflix content, Pandora and Hulu. I would like to be able to use this service while not on my WiFi is there a way to set the DNS server to ...
9
votes
1answer
9k views

Connecting to WiFi via ADB Shell

I've tried all publicly discussed methods I could find to connect to WiFi via ADB on a phone with a broken screen (no display/no touch). The closest I have got is via wpa_cli using the method #1 ...
0
votes
3answers
7k views

changing dns settings on android - not working

When i set my dns on my android device and go to dns leak test it's not the dns that I set in the dns settings. Its the dns set by my ISP. How can I get it to use the dns that I want? for reference:...
5
votes
1answer
3k views

How to run SSH/SFTP server for multiple user logins with password authentication on Android?

I want to run an SSH server on my Android phone so that my clients (varying between 10 to 20) can easily and securely share data with me when I'm on the go, without using any third party hosting ...
6
votes
1answer
5k views

DNS queries are cached permanently, how to reliably clear DNS cache on Android 7+?

Is there a reliable, reproducible way to clear DNS cache on Android Nougat 7.0? I know there is at least one other question like this but that one was from 8 years ago and I hope I can ask again and ...
4
votes
1answer
5k views

How to ping a local network host by hostname?

I recently wiped my phone and now I am unable to ping a machine by the hostname. Pinging by IP works. I have a machine, let's say it is called NAS. From my Router and PC, ping NAS finds the machine. ...
3
votes
1answer
3k views

How to always resolve a domain name to a fixed IP without rooting?

The financial website https://wex1.in got it’s domain name deleted but it’s still possible to reach it by adding 104.25.31.35 wex1.in to etc/hosts files on a ᴘᴄ. So how to access the website without ...
2
votes
1answer
5k views

Change mobile network DNS on Lollipop and up

Ok, this is a constantly asked question, how to change mobile network DNS. But in different Android version, you will get different method. So this is the reason I ask this. I have already known a ...
2
votes
2answers
3k views

How to modify environment variables like PATH at startup?

I'm trying to add /data/bin to variable PATH at startup in order to have it available for any other app. In Ubuntu I use the file /etc/environment, I cannot find anything similar in Android. I ...
2
votes
2answers
2k views

How to Block/Filter Sites on Mobile Data Connection (Preferably using DNS Server)

I researched a way to filter sites using DNS Server on android phone, and that is to changed the phone's DNS Server, it worked for WiFi connection, but not for Data Connection, how would I Block/...
2
votes
2answers
3k views

How to redirect all web requests from hosts connected to hotspot to a local web server?

I literally have the same question as found in this post: How to redirect complete outgoing phone's traffic to a proxy server? I have an Android phone acting as a hotspot server (using KWS). I am ...

15 30 50 per page