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
3
votes
1answer
2k 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. ...
10
votes
1answer
17k 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/...
4
votes
1answer
3k 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, ...
4
votes
1answer
4k 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. ...
24
votes
6answers
84k views

How to change mobile connections's DNS on Android KitKat?

I want to avoid censorship from my local mobile ISP (it blocks imgur, for example, for some unknown reason. Screenshot (click image for larger variant) I'm pretty certain that I can circumvent this ...
1
vote
2answers
1k 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?...
3
votes
0answers
202 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 ...
16
votes
3answers
30k 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 ...
3
votes
1answer
3k 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 ...
28
votes
4answers
51k 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 ...
29
votes
7answers
111k views

How can I flush the DNS Cache?

How can I clear my DNS cache on my android phone? (Droid3, Gingerbread, rooted to be specific) Ideally I'm looking for a command to run through a terminal emulator, something similar to ipconfig /...
16
votes
4answers
67k views

How to set up a host to IP mapping on unrooted Android?

I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm ...
6
votes
1answer
4k 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 ...
10
votes
2answers
7k views

Zeroconf mDNS on Android?

Is it possible for me to run a Zeroconf mDNS server on my Android phone? Something like Avahi on Linux. The reason I ask is because I run an SSH/SFTP server on my phone for transferring files to/from ...
11
votes
2answers
8k views

How to set up tablet to use a local DNS server thru VPN rather than Google's DNS?

I have a Windows Server 2008 R2 Enterprise server running in our home network. It has VPN functionality installed and fully working. If I connect with a computer, the computer will get right DNS ...
1
vote
1answer
1k 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
3answers
7k views

Is it possible to set DNS for mobile network

I live in Canada and use an unblocking service to access US Netflix content, Pandora and Hulu. I would like to be able to use this service while not on my WiFi is there a way to set the DNS server to ...
1
vote
1answer
8k 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
4k 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
598 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 ...
16
votes
6answers
49k 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 ...
6
votes
3answers
2k views

Set hostname for SSHelper

I currently use SSHelper to transfer my data to the Android 4.0 device. The app displays the IP address that is currently assigned. Since this IP address changes regularly, I'd like to use a hostname ...
12
votes
2answers
36k 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. ...
11
votes
1answer
9k views

Why does my phone use Google Public DNS?

I was just curious to know what DNS server my phone used. So I launched a terminal emulator and I entered: $ cat /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 As you can see, my phone uses ...
6
votes
2answers
2k views

Gingerbread phone only queries for AAAA records?

Since yesterday I have (in addition to the regular IPv4) IPv6 in my LAN at home (native IPv6 is provided by my ISP). I have Windows XP, Windows 7 and Linux desktops and an Android 3.1 tablet (Asus ...
2
votes
2answers
2k 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/...
2
votes
2answers
11k views

Is it possible to assign a static IP address without a DNS?

Is it possible to assign a static IP address without a DNS in Android 5.1? Is there anyway to achieve it? I can do this in iOS so I'm wondering.
0
votes
3answers
6k 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:...
8
votes
1answer
9k views

Is there a way to list the local dns cache?

I would like to get a list of my current cache on my phone, what is the command to issue in order to retrieve that list ? I would like to get a command and not an app that does that, since i want to ...
8
votes
2answers
36k 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 ...
5
votes
2answers
2k views

How to set the DNS server on Nexus One?

The ISP I use on my N1 doesn't allow me to open facebook. Using a PC, I can use Google DNS server (8.8.8.8) to by-pass them but on N1, I can't find where to put the stufff. Please help if you know ...
2
votes
2answers
1k views

Can't change DNS on S3 mini

I am trying to use OpenDNS on my phone. I have tried using SetDNS, DNS Changer, and DNSet. At least two of those claim to allow changing the wifi DNS without root access (I am only using wifi on an ...
4
votes
2answers
1k views

How to block access to a website?

Is there any way to block access to a particular website through the stock Android browser?
3
votes
1answer
3k 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
1answer
689 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
339 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
1k 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
709 views

Chrome browser will not connect to intranet web addresses [duplicate]

I can access a internal address using http://companyweb which redirects to http://companyweb/default.aspx from my windows desktop fine. I can also access http://companyweb on my iphone. However, when ...