Linked Questions
22 questions linked to/from How does Android do DNS name resolution?
21
votes
4
answers
89k
views
How to set up a host to IP mapping on unrooted Android?
I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm ...
9
votes
1
answer
18k
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 ...
4
votes
1
answer
10k
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. ...
8
votes
1
answer
9k
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 ...
5
votes
1
answer
5k
views
How to configure DNS properly while two LANs are running?
The device can't ping www.google.com but ping 8.8.8.8 is okay. My OS is Android 6.0.1, the kernel is 4.1.15
I've tried the resolv.conf and /etc/hosts. But these methods seem can not work on Android.
...
1
vote
1
answer
4k
views
How to make Android device visible to Bonjour / Zeroconf with .local name?
I would like to access my device as myandroidthing.local, as I can do it with my (both Linux and Windows) laptops. Is it somehow possible?
Most ideally, it could be done by some app what I can install ...
2
votes
2
answers
4k
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/...
1
vote
1
answer
5k
views
Specific DNS for a Android App
I am currently using adguard DNS using the private DNS setting in my android device to avoid advertisements. But it increases the ping time while I am in a multiplayer game (like PUBG Mobile). Is it ...
1
vote
2
answers
2k
views
What values to set in Static IP Settings of Wi-Fi when changing DNS?
I have nearly the same problem as Set Open DNS in Android 5.0.1
and the answer helped me.
Although I just want to change the DNS for blocking porn, what values for the following fields should I enter?...
4
votes
2
answers
2k
views
How to block access to a website?
Is there any way to block access to a particular website through the stock Android browser?
2
votes
1
answer
3k
views
Accessing local computer using hostname
From my tablet running Android 9 I would like to access a web site on my local server using its hostname (server). This works fine from my laptop computer running Debian 10. However, on my tablet I ...
0
votes
0
answers
3k
views
How do I solve DNS_PROBE_FINISHED_NXDOMAIN on android
I have an ssl web app hosted on my home network that uses dyn-dns to maintain my public IP address and a CNAME record to point my actual domain name to the dyn-dns domain name.
This all works fine on ...
1
vote
1
answer
2k
views
The phone as hotspot doesn't use its own DNS
Summary
I use my phone (Android 8.1) as access point. The qualified name of clients is resolved for other clients, but not for the phone itself.
Details
My laptop (Linux Mint 19) is set up to connect ...
1
vote
0
answers
2k
views
Android wifi tethering (hotspot) DNS server (dnsmasq) returns 127.0.0.1 for some domains
My laptop connects to the internet through Android wifi tethering (hotspot).
Some websites cannot be connected because my Android DNS server returns 127.0.0.1.
I can browse the sites on my Android ...
2
votes
1
answer
912
views
Where does Android get its DNS information when connected to Wi-Fi?
I'm hosting a server on my LAN with a port exposed publicly by the router. myserver.mydomain.com is pointing to the static IP of my router. So I can access the server from the the internet.
To make ...