Questions tagged [dns]

DNS stands for the Domain Name System, an internet system used to translate names into IP addresses.

Filter by
Sorted by
Tagged with
1
vote
0answers
34 views

Can I find the path of name resolution?

I'd like to know which name servers are asked for a name, when I try to connect to a local device by name. Is it possible? I have a local DNS, which mostly works fine, but sometimes not. For example, ...
1
vote
1answer
35 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 ...
-2
votes
0answers
41 views

How to block a WhatsApp network connection on Android?

I am trying to block c.whatsapp.net using /system/hosts file but it is not working. Please tell me which DNS I should block? I want to learn this method. Here is my host file content : ::1 localhost ::...
0
votes
0answers
33 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 ...
0
votes
0answers
33 views

Hotspot mobile network tethering and DNS

I and probably others know, if turning on the mobile hotspot and enable wifi-tethering, we are able to use our android phone to get internet access via a notebook (and other devices of course) ...
0
votes
0answers
24 views

Do Android 9+ systems have DNS config at all, anywhere?

20-dns.conf in /etc/dhcpcd/dhcpcd-hooks/ does not exist getprop | grep dns returns 0 results /etc/resolv.conf does not exist /system/etc/resolv.conf does not exist grep for 8.8.8.8 in whole /etc/ ...
1
vote
0answers
20 views

How to fix DNS issue on Snapdragon ported Device [closed]

Hello I ported a miui 9 Rom on my China Mobile m631 A1s Device . It works fine but the mobile data doesn't. It comes up but doesn't browse and the WiFi browse but if I use an VPN app like Windscribe .....
0
votes
2answers
83 views

Connected to wifi, but no internet access [duplicate]

first question here. I was using wifi normally on my phone. Then I turned it off and after some time turned it back again. Since then I can not access the internet. It's showing Connected(no internet ...
0
votes
0answers
86 views

(Android) Dns resolution through proxy(socks5)

my DNS leaks on my android. I am using Socks5 proxy with proxydroid. How can I force the dns to go through the proxy dns? I have root permissions etc.
1
vote
1answer
47 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 ...
0
votes
0answers
27 views

Android dns network problem

I am using a custom devlopment board based on android jellybean 4.2.2 i have problems in wifi network, i build realtek wifi usb drivers and add the required files, when i connect to wifi network its ...
0
votes
0answers
28 views

Changing third-party websites on android device without browser extensions available

I'm searching a way on how to change behavior of some website in mobile browser. For example: Remove annoing Ad (specific one) Change some elements on a website, to make it easier to read on small ...
0
votes
0answers
194 views

NetGuard vs DNS66 for Privacy

I have downloaded both of these apps from F-Droid but I am unsure which is the right for me, and what exactly both do differently from one another? I have heard lot's of great things about both of ...
0
votes
1answer
126 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 ...
5
votes
1answer
1k 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 ...
0
votes
1answer
171 views

Why I am getting a strange DNS server in my dhcp client android phone?

Sorry for bad english. I have a DHCP server router with IP 192.168.0.254 Everything goes well, but my phone and my tablet gets a very strange DNS 1 server: 80980492081 Here is a screenshot: This is ...
0
votes
0answers
202 views

How to test dns resolving in adb (Android Debugging Bridge) shell?

I have set up adb shell with a virtual device (anbox under ubuntu 18.04), while the ifconfig can give the valid information: x86_64:/ # ifconfig eth0 Link encap:Ethernet HWaddr f6:57:1f:73:e9:...
1
vote
1answer
73 views

How to use “/etc/hosts” file as only DNS on Android?

On my Android-based device I need to block access to all websites except ones are in a whitelist. I know that on desktop Windows I can list allowed hosts in the hosts file and then switch the DNS in ...
2
votes
1answer
918 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, ...
2
votes
1answer
2k 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. ...
1
vote
1answer
152 views

How to make Termius look for hostnames on the local network first?

I have four devices: Windows 10 PC Android Phone (v6.0.1) Internet Router "servername" (Raspberry Pi 4) All are connected locally using Wifi (not that it should matter) using the simplest possible ...
1
vote
1answer
776 views

How to use Private DNS on Android Pie for tethering?

Is it possible to use Private DNS on my laptop that is connected to WiFi shared by my Android Pie smartphone with configured Private DNS? I tried visiting https://1.1.1.1/help from my phone and it ...
1
vote
0answers
35 views

incorrectly receiving DNS settings from AP when connecting to public wifi

I had to fly recently. The flight had in-flight entertainment through gogoinflight, but I couldn't access it on my phone while everyone around me could. I thought the problem was with the router but ...
0
votes
0answers
812 views

Can't change DNS Server on Android

I have few devices in my local network. I want them to have names like in this example: 192.168.1.1 router.home 192.168.1.2 nas.home 192.168.1.3 rpi.home I setup dnsmasq server on my NAS ...
2
votes
2answers
2k views

Why is “mdnsd” draining my battery and how to stop it?

This process (mdnsd) had been draining my battery for a few weeks. I have not been able to find a solution after a lot of search. I don't have any drone app, Facebook app or Firefox, although it's ...
0
votes
0answers
106 views

Modifying etc/hosts file doesn't work for redirecting to something else

I need to do it for security testing purpose of an app. I have a rooted emulator which runs 7.1.1, It is rooted, I changed hosts file by using echo command, root file explorer, adb push and every else ...
0
votes
0answers
47 views

Can I use DNS-over-TLS below Android Pie?

Unfortunately DoT isn't part of Android below version 9. Is there a workaround app or should I better install LineageOS 16 on my old smartphone device?
4
votes
1answer
1k views

Can I find which app is making certain DNS requests?

So I've been using pihole and my Android 7 phone is making some unexpected requests to DNS for a particular domain. Is there an app or technique I can use to find which app is initiating those request....
5
votes
1answer
9k views

How to fix SELinux “avc: denied” errors when launching DNSCrypt as init.d script?

I've installed an unofficial lineage OS 14.1 ROM on my phone and i want to have dnscrypt used on boot by default. There is what i have done: Download arm binaries from: https://github.com/jedisct1/...
1
vote
1answer
1k 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
1k 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
1answer
365 views

Wifi hotspot giving “No internet, secured” on Huawei P10 with Android 8.0.0

This is driving me bonkers. I've been on a chat with Vodafone and they sent me APN settings, but that hasn't helped. I've tried the settings in this thread. And that hasn't helped this time (it did a ...
2
votes
2answers
171 views

Problems with the DNS Network part (or maybe virus/malware-related) on Android 6.0 Marshmallow (Alcatel Vendor)

I've been experiencing some strange problems maybe that be related with the DNS Network part in Android 6.0 Marshmallow, and could mention these two origins as the main likely sources of problems: • ...
1
vote
0answers
779 views

Android Wi-Fi hotspot DNS resolver: locally point domain name to custom address without root

So, I know dnsmasq is used as DNS/DHCP server in Android when running as a Wi-Fi hotspot, that dnsmasq can be used to point users to a specific address when resolving addresses, and that there is a ...
2
votes
1answer
564 views

Android wifi (oreo) dropping. Because of pihole?

First of all, my apologies if I'm posting in the wrong forum. I'm a bit lost in the SE galaxy. But since my issue is quite complex and specific, I feel this is the best place. Let me know if I'm wrong....
1
vote
2answers
735 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?...
2
votes
0answers
119 views

How can I troubleshoot a very slow initial connection when web browsing on WiFi?

This has been bugging me for quite some time. When connected to my home WiFi, web connections take a long time to initially establish (like ~10 seconds+) on two separate Android phones (OnePlus 3, ...
2
votes
1answer
865 views

Can I force clients of my phone's Wi-Fi hotspot to use my DNS?

My phone is a Mi A1 with Oreo 8.1. It is not rooted. I am offering WiFi using hotpsot . I discovered that devices connected to my hotspot do not inherit the DNS server from my hotspot. Questions: ...
1
vote
0answers
721 views

How to block access to domains with DNS66?

I'm using the open source Android app DNS66 to block ads on my smartphone. Is it possible to block entire domains (like facebook.com, twitter.com) with it too? My goal: Nothing loads if I visit e.g. ...
1
vote
1answer
464 views

Edits hosts file ignored by chrome

I'm trying to cut down on procrastination in a fun way (read hacking) by rooting my phone (moto g2) and editing the /system/etc/hosts file like this 127.0.0.1 localhost ::1 ip6-...
0
votes
1answer
400 views

how to block a specific URL without root?

i want to block a specific URL (a .json file on a webserver) i dont have root it should run on ANY modern android device AND FireTV ;) would be nice if we find a way ;)
1
vote
0answers
2k views

Where are the DNS settings stored in Android?

I am using IP tables to force the system to used a specific DNS but it only seems to work for WiFi networks but not mobile data. These are the IP tables I use: iptables -t nat -A OUTPUT -p tcp --...
0
votes
1answer
56 views

Custom DNS server not resolving wildcards

I've setup my WiFi connection on my Galaxy S7 to use a custom DNS server. My PC runs a DNS server at 192.168.0.100 and serves a few A records: home.local 192.168.0.100 shed.local 192.168.0.101 *...
0
votes
1answer
51 views

Cache transfer when switching phone

Is the content of the web cache of my phone transferred when I switch from one android phone to another? How about web history and DNS cache? Thanks
0
votes
0answers
2k views

Android does not resolve local hostname. Computer does

on my debian server I have an apache instance that I access only in local lan. Suddenly I cannot connect to it anymore from my android 7.1 phone through hostname. Connecting through local ip works ...
0
votes
1answer
539 views

How to know 3g DNS setting on Android?

I want to know what is the DNS configuration of the 3G connection of my Android. Only to know, not to change (yet).
1
vote
1answer
1k views

Orbot transparent proxy requires enabling manually

My phone is HTC One M8 on Marshmallow stock ROM, rooted with Magisk. I've installed Orbot and noticed it doesn't work in transparent proxying mode when proxying all apps. It requires manual proxy ...
1
vote
0answers
993 views

Andiodine DNS Tunneling - Connects to server but unable to browse. No internet connectivity

I have an Iodine (DNS Tunneling) server running on my VPS and have tested and confirmed DNS Tunneling is working by connecting using the Iodine client from my local Linux machine. When using the ...
6
votes
0answers
682 views

Bug or feature? Android ignores DNS servers with IPv6 ULAs when in an isolated ULA network?

This has cost me some hours of finally tracking it down, but I would like to know if someone can please shed light on this issue? Android 6 and 7 do not accept DNS servers with IPv6 ULA addresses. ...
1
vote
1answer
4k views

I can just access Google and YouTube via a Wi-Fi hotspot created by my Windows 7 laptop. What’s wrong?

I have followed every step of this instruction, but my Android phone can only access Google and YouTube – and no other websites. What is wrong? It may be due to a DNS-server problem, but I cannot ...