Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dns]

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

0
votes
2answers
655 views

Does android use cellular data when connected to WiFi with no internet

We have a WiFi hotspot setup with no internet. A website has been hosted locally on a server connected to the same hotspot. Necessary DNS entries have been made in the Access Point to ensure the DNS ...
0
votes
2answers
391 views

Why can't I access google.com when tethering?

I am paying my wireless carrier (MetroPCS) for the "hotspot" feature, which is required in order for me to tether. However, strange things are a happening.... I can't access google.com, although I ...
2
votes
1answer
140 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....
2
votes
1answer
228 views

DNS error on laptop when tethered to non-rooted Android 5.1 device

I am trying to hotspot my laptop from a non-rooted Android 5.1 phone (ZTE A110). On IPv4 and IPv6 I get Connection Status: Enabled - with high speed quality - but No Internet Access. When I run ...
1
vote
1answer
183 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
109 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 ...
1
vote
1answer
930 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
1answer
816 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
1answer
1k views

Connecting android phone to a local web server

Scenario. We have a product controlling some sort of household thing. Since its 2015, it also runs a small webserver so that people in the house can control the product using their phones. Everything ...
0
votes
1answer
231 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 ;)
0
votes
1answer
43 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
1k 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
467 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).
0
votes
1answer
858 views

dns leak on android emulator

I run a VPN on my local pc before running my android emulator (memu), This successfully changes my ip but my dns remains the same as the exact dns on my local pc. I would like to know how I can block ...
7
votes
0answers
616 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. ...
4
votes
0answers
103 views

DNS resolution based on connection?

On my Galaxy Note 2 phone (Android of course), is it possible to edit the hosts file so that it resolves 'example.com' to a public IP BUT resolves it to a local private IP if connected to wifi with a ...
3
votes
0answers
2k views

How can I help my android phone find an mDNS device?

I have a small WiFi gadget (based on an ESP8266), which is programmed to answer mDNS queries on esp.local. It can be discovered without any problems by iOS devices. However, my phone's android (6.0.1)...
3
votes
0answers
2k views

How to debug non-rooted Nexus 5 Android 5.0.1 tethering issue?

I normally use tethering a lot but hadn't since the 5.0 update and so didn't notice this issue. Now my Nexus 5 is at 5.0.1 and today I needed to tether and found that it doesn't work. Phone is Nexus ...
2
votes
0answers
272 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....
2
votes
0answers
37 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
0answers
350 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: ...
2
votes
0answers
3k views

Is there a way to check DNS cache on an Android device?

Is there a way to check DNS cache on an Android device? For example, you can check it on windows via the command ipconfig /displaydns.
2
votes
0answers
337 views

Multicast dns registers hostname based on IP address

I would like to use avahi/zeroconf to do ssh logins to devices which are connected to the local network by wifi. Since I do not have control over the wifi routers I cannot assign fixed IP-addresses to ...
2
votes
0answers
729 views

Issues with mDNS on an Android device

I'm running a local testing environment (MAMP) on a Mac (Mountain Lion), and Im having having difficulty accessing these sites on my Galaxy S3 running 4.1.2 Everything works fine testing using ...
2
votes
0answers
560 views

Android not registering A and PTR records with DNS server

I have been running ISC BIND and DHCP servers on my private lan for quite some time now. Recently, I configured the two servers to enable Dynamic DNS updates to my private zone. It seems to be working,...
1
vote
0answers
61 views

3g Modem connection using ppp2 widget on android x86

I am trying to connect to internet using huawei 3g dongle e1731 on android-x86-7.1-r2 using ppp2 widget (tried ppp and ppp3 but not worked).I was able to browse the internet using chrome but ...
1
vote
0answers
240 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 ...
1
vote
0answers
468 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
0answers
1k 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 --...
1
vote
0answers
894 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 ...
1
vote
0answers
974 views

Zeroconf / Avahi mDNS resolution on Android

I'm running CyanogenMod 12.1 Android on a tablet. I'd like to access local servers and services that I have on my LAN which are advertised using Avahi with foo.local style names. When I try this in ...
1
vote
0answers
389 views

reverse tethering - offline for some applications

I try to get internet on my phone from my computer without instlling any tools. My configuration looks like : mybox -----(Ethernet)------[my computer]------(USB)-----[the phone] I enabled usb ...
1
vote
0answers
554 views

Android Download Manager does not properly resolve hostnames

I have had an issue for a while with a few of my Android tablets. Those tablets would consistently refuse to install or update software from Google Play. I have spent days looking for a solution; I ...
1
vote
0answers
143 views

USB thethering netdns set

Im Trying to create network emulation using USB tethering on KK. The problem is that I cant set net.dns to my host ip, and therefore any dns resolution is answered with Unknown Host. I read that ...
1
vote
0answers
1k views

Better Terminal Emulator Pro and dns/nslookup resolution

I just recently purchased "Better Terminal Emulator Pro" on the Google Play Store. It works well for everything so far, except when I try to do something like ping google.com or use a hostname for ...
0
votes
0answers
22 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
11 views

DNS issue with OnePlus

I have installed Lineage OS 16 (android pie) for my oneplus one (although this issue existed in android Oreo as well). I am having a very interesting/weird issue with my phone that might be related ...
0
votes
0answers
19 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?
0
votes
0answers
18 views

When does DNS cache is created and deleted per interface in android

I was looking into the code in res_cache.c in android aosp. It has an cache implementation for DNS entries per each netid. I am just curious to know when that cache will be created (like the interface ...
0
votes
0answers
46 views

Why are there apps using 0.0.0.0 in my Lollipop if DNS verification is on

welp, I tried the *#*#4636#*#* and on the phone info there is the option to disable 0.0.0.0 with DNS verification. There are however some apps like google's contacts sync that are listening on the ...
0
votes
0answers
19k views

How to fix DNS_PROBE_FINISHED_NO_INTERNET on an Android tablet?

What I notice: I can't connect on my tablet to the Internet in applications (Android Chrome, Youtube app, Facebook, etc.) My tablet says it is connected to the Wireless router. The router seems to be ...
0
votes
0answers
2k views

Android get dns history

Can I get the dns history on android like on windows? Like this: ipconfig /displaydns
0
votes
0answers
483 views

Change DNS to openDNS but keep DHCP, NOT static

I want to change my DNS settings to open DNS but I want to keep the setting at DHCP not static since that won't work on this network. Is this possible?
0
votes
0answers
71 views

How can I prevent DNS resolution of a name?

Blocking DNS resolution is a very crude but simple safety net I put around websites that I have moral issues with — by blocking DNS resolution I prevent a connection being made to the remote host in ...
0
votes
0answers
207 views

where are DNS settings under 4.4.2?

I cannot find where to configure DNS settings for this device: Model number: astar Processor type: QuadCore-A33 Android version: 4.4.2 Firmware version: v2.0 Kernel version: 3....
0
votes
0answers
3k views

Err_Name_Not_Resolved on specific site only on WiFi?

Android 4.4.4, Samsung Galaxy Note Edge I have this very wierd issue, maybe someone else might be able to shed some light. For the last few days, on facebook, I find that clicking on a link to an ...
0
votes
0answers
46 views

Cannot access library e-resources on campus

I own a Samsung Galaxy 10.1 tablet(Wi-fi only model) featuring Android 4.1.2. My problem is that I cannot access and use library e-resources on campus although I have my tablets MAC address registered ...