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
0 votes
0 answers
18 views

Improving DNS resolution success rate on Android

We have an Android app that is periodically sending data to our backend server via url panel-lb-ext.unolo.com. Sometimes, we have Android devices that are unable to connect to our backend because of a ...
user avatar
0 votes
1 answer
28 views

name resolution on samsung s22 device does not find local host using full name

S22 Android 12 device here. I have my own DNS server on a local network. Phone seems to pick up local DNS, but it will not address devices using fully-qualified name. Example (in adb): g0q:/ $ ping ...
user avatar
  • 481
0 votes
0 answers
25 views

How to route all my Android phone own's DNS request to 8.8.8.8 in iptables with root?

su iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to 8.8.8.8:53 The above command is really working, but only for client phones who are using my phone's WiFi hotspot. The result I need is for ...
user avatar
  • 1
0 votes
0 answers
21 views

OpenVPN Connect Android 3.2.7 has no permission to open profile file from local storage

Short version: DNS push stopped working so used apkmirror to downgrade OpenVPN Connect app to v3.2.6 but can't load the .ovpn profile from local storage (in Downloads) - Settings only offers "...
user avatar
  • 1
0 votes
0 answers
35 views

How to override (or a least view) the RDNSS ipv6 DNS? (root)

As far as ipv4 DNS is concerned, Android (at least version 9) can override default DNS settings fairly well. Firstly, it is possible to set net.dns* to the desired value. Secondly, iptables -t nat ...
user avatar
0 votes
0 answers
20 views

Captive portal: Android phone not sending data to private access point DNS server. Windows laptop and iPhone works

For my ESP32 project, I need a captive portal where the user can enter their WiFi SSID and password. This is a commercial project that needs to work across a wide consumer base. But there are some ...
user avatar
0 votes
0 answers
36 views

How to fix android vpn for Intranet

use a VPN for connecting to my company's Intranet and website in my PC and everything is ok, now I want to use this VPN in my android device for connecting to the Intranet, but I can't, [This is the ...
user avatar
  • 1
0 votes
0 answers
77 views

gateway and dns in android

How to setup gateway and dns on android emulator correctly if my eth1 on emulator is connected to tap on host via: emulator -dns-server 8.8.8.8 -selinux permissive -qemu -device virtio-net-pci,netdev=...
user avatar
1 vote
1 answer
50 views

My Android 12 can resolve hostnames but can't connect directly to IP adress?

I'm facing a weird behavior when using mobile data. My Sony Xperia 5 mark II on Android 12 with Magisk root can connect to the Internet if I connect to the URL. However if I try to connect directly to ...
user avatar
  • 21
2 votes
1 answer
50 views

Android 10 device won't reach one specific web-site?

My android 10 device is failing to access one particular website. All others are fine. This started happening a few weeks ago. I have contacted my mobile ISP and they say their systems are working ...
user avatar
  • 23
0 votes
1 answer
26 views

Android 9: Configure DNS while connected via cable

I've got an Android TV Box (orbsmart S86) running on Android 9. It is connected to the LAN and internet via a cable. Wifi is not used. Now I've configured PIHole on another device and want to tell the ...
user avatar
  • 103
0 votes
0 answers
32 views

Samsung Tablet with Mobicontrol Android Enterprise DNS resolve error

I have multiple Samsung A7 tablets with Android 11. Some are Android Enterprise and some are normal Android. On the ones with Android Enterprise I get the error ERR_NAME_NOT_RESOLVED or the error ...
user avatar
  • 11
1 vote
1 answer
119 views

How do you configure secure DNS (aka "private DNS") with cloudflare?

note: there are a lot of DNS questions on android.stackexchange.com I'm creating this question because all the other DNS questions were for different scenarios and I wanted to keep this up to date ...
user avatar
0 votes
0 answers
33 views

How do i fix DNS/unsecure connection issues for a specific website

I regularly view a specific website (cracked.com) using mobile data without issue. It's not adult content or gambling related. All of a sudden I can no longer load the site using mobile data. (samsung ...
user avatar
1 vote
1 answer
191 views

Selectively enable private DNS

I've got a local network with associated WiFi where I'm already running a DNS server and I can resolve somehost.local.example.com on any machine in that network just fine. On Android I can only ...
user avatar
0 votes
0 answers
147 views

Android 11 does not seem to use DNS

On my Android device, I'm connected to a wifi router which is connected my home network. I tried setting DNS to 8.8.8.8, 1.1.1.1, and other DNSs. If I ping, say, 8.8.4.4, the connection works. ...
user avatar
  • 141
1 vote
0 answers
69 views

Convince android to use AAAA records when VPN has IPv6 but main connectivity doesn't

I have a VPN (WireGuard right now, but the same behaviour manifested with OpenVPN) that provides me with an IPv6 address. I can confirm that it is working because pings (both from the android terminal ...
user avatar
2 votes
1 answer
629 views

Couldn't Connect Private DNS (Own DNS)

I have created my own DNS resolver for blocking some web pages and I can't figure out how to use it on Android. If I configure the DNS of any other device to use my DNS, it works like a charm (I've ...
user avatar
0 votes
0 answers
25 views

Watch DNS cache in Pixel3a

I have rooted Pixel3a with shell. When I run netstat -nalp | grep SomeApplication I can see all the IP that application communicate with them. How can I know what is the DNS query that the application ...
user avatar
0 votes
0 answers
74 views

How to prevent DNS leakage for always-on VPN on android phone?

Always-on VPN connection enabled on my android phone. But when a packet capture is performed, there always seems to be a DNS leakage to google sites, connectivity checks, Samsung sites(cause its a ...
user avatar
1 vote
1 answer
41 views

Connection to DoT server is not retried

I'm running my own DNS-over-TLS server under my domain (dns.example.com). On my Motorola G100, which is running Stock Android 11, I can set the private DNS to this domain and it works. This works on ...
user avatar
  • 121
0 votes
0 answers
67 views

Chronic "ERR_NETWORK_CHANGE" on AT&T Motivate

My Android phone was recognized as a V-Smart Hobson when I activated it. My Google Account also said the same under "My Device". This error has become so chronic, it is part of every single ...
user avatar
1 vote
0 answers
295 views

Resolve dns through proxy > ProxyDroid

Android device and rooted and using ProxyDroid App with HTTP Proxy one of the main problem with ProxyDroid App is dns leak . it's ether showing my original DNS or Google DNS . i want to Resolve dns ...
user avatar
0 votes
0 answers
78 views

Blocking torrent in Android

Is it possible to completely block torrents in android? I have tried to use many porn blockers like BlockerX, Remojo etcetera. I can block the torrent websites by blocking the keyword - 'torrent' .But ...
user avatar
1 vote
0 answers
570 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 ...
user avatar
  • 121
0 votes
0 answers
75 views

Changing DNS server results in connected, no internet error

I've set up a pi-hole on my home network and I'm trying to switch DNS provider from default to the one specified on my network, I've followed the steps as laid out in this article to no avail, I have ...
user avatar
1 vote
0 answers
211 views

How can I set up DNS OVER HTTPS in Android 8?

I am using android hotspot as wifi for my devices, and I want to set up DOH on my android, how can I do it? PS: I have tried to install Intra or other APPs that can only change dns for internet access ...
user avatar
  • 11
2 votes
2 answers
2k views

Is there a way/app to automatically change DNS server based on connection?

Let say on my home Wifi, I want to use DNS server "X" and on work WiFI, I want to use another DNS-server: "Y", on cellular a server "Z" and so on. Is this possible to do ...
user avatar
  • 216
2 votes
0 answers
153 views

How to make Private DNS unchangeable?

Are there any way to make android private dns settings unchangeable? I need app locker for android that password-protect private dns activity or class
user avatar
0 votes
0 answers
237 views

DNS name resolution for local hostnames does not work anymore after android 9 > 10 change

I use my android phone(s) as a wifi hotspot, clients get IPs from the 192.168.43.0/24 network. Previously, when the phone was running android 9, internal name resolution for those clients worked fine, ...
user avatar
0 votes
0 answers
37 views

How to troubleshoot DNS not resolved issues?

I can't open Hotstar/Disney+ on my Android phone/ Android TV. Upon investigation, I found out that the webpage hotstar.com is not opening in general on my phone/TV and is throwing an "err::NAME ...
user avatar
1 vote
0 answers
460 views

Android ignores DHCP "Search domain" unless it's on a VPN

So I have a single subnet, flat LAN, multiple wired access points all in bridge mode. I have ISC-DHCP server and Bind9 DNS server configured for dynamic DNS hosts etc. The DNS provides a local zone ...
user avatar
2 votes
0 answers
494 views

Android won't query DNS server for IPv6 addresses, why?

I have a weird issue; for a single connect request to a server that has a single AAAA record my device runs two A queries instead and fails to connect. My setup is as follows: LAN (a regular router) ...
user avatar
  • 121
0 votes
0 answers
50 views

How to know the address of the dns server I m using?

Simple question but I couldn t find the answer anywhere. It is not part of ip informations and the information is not trivial when being connected to the Internet over lte. getprop | grep dns is ...
user avatar
2 votes
0 answers
265 views

Here GPS tracking

I have been lured into the world of FOSS apps, apps using known trackers and loggers, DNS, and firewalls. My phone is rooted via Magisk. It's a Huawei P20 Lite. Running Havoc 2.9 and Android 9. So I ...
user avatar
  • 21
2 votes
1 answer
215 views

DNS over internal VPN?

I'm currently renting a server where I installed PiHole and PiVPN. PiHole is a DNS sinkhole that I use for blocking ads, and the PiVPN allows all my devices thanks to OpenVPN to get all my traffic ...
user avatar
1 vote
0 answers
232 views

Private DNS over HTTPS rather than over TLS

The private DNS feature on Android Pie and above doesn't give you the option to select DNS-over-HTTPS (DoH) rather than DNS-over-TLS (DoT). I often connect to a network that doesn't allow traffic on ...
user avatar
0 votes
2 answers
77 views

Suspicious link on android

I accidentaly clicked on http://127.0.0.1:5555 this link on my android phone what should i do? i don't know anything about coding so please write with simple words to me
user avatar
0 votes
2 answers
83 views

Skype app on Android

I have temporarily moved to a new university for a research project, and I'm now using their wifi Internet connection. While everything seems to work fine with the Windows 10 laptop, the Skype app on ...
user avatar
  • 101
0 votes
0 answers
42 views

whatsapp not connecting to network until opened

The problem is only with whatsapp app, only in my android device and only when connected to my WiFi. Background data is turned on. Battery optimization is off. Account sync is enabled. Proxy is none. ...
user avatar
1 vote
1 answer
647 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 ...
user avatar
  • 111
3 votes
0 answers
575 views

Why can't I browse to my desktop using its .local hostname?

I have a PC whose name is "mypc". It's accessible on the local network. https://mypc.local correctly displays its website when browsed from Mac, iOS, and itself. However, using my Pixel 3 ...
user avatar
  • 281
2 votes
0 answers
232 views

On Firefox on Android, how to disable DNS over HTTPS and do normal DNS lookups via port 53?

I want Firefox on Android to be able to browse to local domain names on my LAN: http://koffiezetapparaat.lan should resolve to http://192.168.1.120 for instance. This works on desktop Firefox, but ...
user avatar
1 vote
0 answers
59 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, ...
user avatar
1 vote
1 answer
399 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 ...
user avatar
0 votes
0 answers
2k 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 ...
user avatar
  • 171
1 vote
0 answers
5k 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) ...
user avatar
  • 111
0 votes
2 answers
4k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar