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
0answers
23 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?
2
votes
1answer
141 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
593 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/...
0
votes
0answers
19 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 ...
1
vote
0answers
62 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
1answer
184 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
110 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 ...
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 ...
2
votes
2answers
130 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
243 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
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....
1
vote
2answers
190 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
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
353 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
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. ...
0
votes
1answer
274 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
233 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
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 --...
0
votes
1answer
46 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
37 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
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
468 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
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
0answers
895 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 ...
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. ...
1
vote
1answer
2k 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 ...
4
votes
1answer
17k views

Android wifi says “Connected, no internet” but internet works just fine

This is a strange thing that started happening with the wifi network at my work. Android devices connected to the network say "Connected, no internet" however the internet works perfectly well. This ...
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 ...
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
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 ...
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
1answer
859 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 ...
1
vote
1answer
792 views

Using OpenDNS for the 3g connection

I'd like to use OpenDNS for the 3G connection on my Android phone. I have a phone with Android Lollipop. The phone is not rooted. I tried several apps for non-rooted phones (DNS Changer (no root 3G/...
0
votes
2answers
4k 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:...
13
votes
3answers
14k 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 ...
1
vote
0answers
390 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
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/...
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....
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)...
1
vote
1answer
2k views

OpenVPN DNS on non rooted device

I am trying to get OpenVPN working on my Android device using the official OpenVPN app from the app store. I am running on a Verizon S6 running 5.1.1 and do not have root on the device. I have ...
1
vote
1answer
303 views

DNS error in android 4.4.2

I just get an new mobile Samsung Galaxy S4 GT-I9505 with Android 4.4.2. When I try to connect to internet through 3G/4G network, my Chrome always give me an error message: ...
3
votes
1answer
2k views

Change DNS but stay on DHCP

I have a "Minix Neo X8-H Plus" Android TV box, running Android 4.4 (KitKat). I want to change the DNS servers on the WiFi connection, but to do that, I only get that choice if I change to a static IP ...
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.
0
votes
1answer
1k views

How do I manually configure the DNS of my tethered connection?

In my new moto E, tethering my internet connection isn't working. I configured my nexus tablet to use my mobile phone connection. Everything looks fine, it looks like it is connected, but I can't ...
17
votes
4answers
108k 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?
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 ...