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
1answer
72 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
1answer
34 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 ...
2
votes
1answer
323 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
27 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
868 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
1answer
940 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
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 ...
2
votes
1answer
2k 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
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
0answers
27 views

Cannot properly configure DNS on android

I tried to share my PC network to android device through tethering. However, when I finish configuration, I found I can only ping IP address but failed when ping domain. My setup environment is as ...
1
vote
0answers
24 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
47 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
388 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 ...
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 ...
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 ...
17
votes
4answers
112k 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?
0
votes
0answers
43 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 ...
2
votes
1answer
238 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
2answers
293 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?...
0
votes
0answers
28 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 ...
2
votes
1answer
363 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....
0
votes
0answers
27 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?
1
vote
1answer
168 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 ...
19
votes
4answers
42k views

How to reach local computer via machine name instead of IP?

Developer here prototyping a mobile app, somewhat new to mobile: I have a simple HTTP service running (currently) on my main laptop with machine name latitude. Another laptop named vaio sharing the ...
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:...
0
votes
0answers
20 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
100 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
7k views

Set Open DNS in Android 5.0.1

Just updated my Oneplus One to Android 5.0.1, and I can't change the DNS when I select the "Static IP" option in Wi-Fi settings. Basically I can put the values in, there is just no way to press OK and ...
2
votes
2answers
137 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: • ...
0
votes
0answers
65 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 ...
1
vote
0answers
420 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 ...
0
votes
0answers
77 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 ...
13
votes
6answers
41k views

Android terminal not able to nslookup?

Every time I try to telnet to a domain on my LG Ally it fails, but it works if I use an IP address. So I tried to use nslookup telehack.com and it returns: Server: 0.0.0.0 Address 1: 0.0.0.0 ...
2
votes
0answers
318 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....
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 ...
2
votes
0answers
541 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: ...
0
votes
2answers
432 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 ...
3
votes
1answer
20k 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
0answers
43 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, ...
13
votes
3answers
16k 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
551 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
324 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
267 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 --...
6
votes
0answers
636 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
0answers
918 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 ...
0
votes
1answer
47 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 *...
9
votes
2answers
33k views

Android Tethering DNS Problem

I am using a Sony Xperia Go mobile device with Android Gingerbread (2.3.7). Whenever I try to use Tethering (USB/Mobile Wifi Tethering), I could not immediately access website using my laptop. ...
0
votes
1answer
41 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
490 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).