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.

27
votes
7answers
106k 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 /...
24
votes
6answers
81k 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 ...
19
votes
4answers
41k 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 ...
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?
16
votes
1answer
3k views

SSH (and SFTP) server on Android discoverable through avahi/bonjour

I would like for my Android device (a Samsung Galaxy) to be discoverable through avahi/bonjour when it is connected to a WiFi network, and then to be able to access its filesystem via SSH (SFTP). For ...
13
votes
6answers
39k 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 ...
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 ...
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 ...
10
votes
1answer
8k 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 ...
9
votes
2answers
32k 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. ...
9
votes
2answers
5k 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 ...
8
votes
1answer
7k 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 ...
7
votes
3answers
3k views

I want a smart phone that I can lock in DNS settings. Is Android “the one”

It is all about being the internet boss. I want to be able to lock in or password protect the DNS settings to OpenDNS, so I can have a safe smartphone, that my kid can use with no fear of accessing ...
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. ...
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 ...
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 ...
6
votes
2answers
2k views

Can I override the default DNS settings on an HTC Evo without root access?

Is there any way to override the Sprint DNS server(s) used by default on the 3G connection of an HTC Evo running Froyo without root access? The reason I want to do this is because some sites are able ...
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 ...
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 ...
4
votes
1answer
3k views

DNS blocking on mobile networks?

I'm using my HTC One phone on Sprint's network in NYC, and noticed that my phone cannot access Imgur. On Chrome, when using mobile data (3G/4G): http://i.imgur.com/TDvhBMA.jpg Fails to resolve "i....
4
votes
1answer
15k views

How to make Android use remote DNS servers over VPN?

I've set up an L2TP/IPsec PSK VPN between my phone and my home network. It works, but Android doesn't use my home DNS server, so none of my internal hostnames resolve. I can access internal servers ...
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
3answers
26k views

Where do I configure DNS and IP settings in HTC Desire S?

HTC Desire S seems to have very scarce WiFi settings. I'm trying to debug a Wifi connectivity issue and looks like it might be a DNS problem. I Googled and looks like many Android devices have some "...
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 ...
3
votes
1answer
302 views

Why does my Moto X phone support mDNS but my Samsung Tablet does not?

I have a device that is broadcasting mDNS, I am using this app to view it in the Bonjour Browser: https://play.google.com/store/apps/details?id=net.he.networktools&hl=en On my Samsung Tablet, it ...
3
votes
1answer
8k views

How can I enable DNS Suffix support on Android? (resolv.conf search)

I would like to add Namecoin support to my Android phone (galaxy s) like this: http://dot-bit.org/How_To_Install_Dns_Suffix I managed to mount the system as read-write and add a resolv.conf to my ...
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 ...
3
votes
1answer
681 views

Sony XPeria Arc: How force DNS resolution with a specific host?

I've made my website and it can be accessed only through specific domain name. http://my.specific.domain.name. And of course, you have to change your /etc/hosts configuration and add my.specific....
3
votes
0answers
65 views

Is there a way to temporarily disable hosts and flush the DNS? [duplicate]

Possible Duplicate: How can I flush the DNS Cache? In order to visite some websites, i modified the hosts in the system/etc/hosts. But sometimes, the IP i write in the hosts file maybe invalid, ...
2
votes
2answers
9k 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.
2
votes
2answers
3k views

Update OpenDNS IP from Android tablet/phone

I want to use my Android tablet or phone to update my OpenDNS IP since there is no official OpenDNS client for Android. Is it possible? As a bonus, I'd like to do this automatically whenever I ...
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/...
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 ...
2
votes
1answer
293 views

Problem accessing Internet in 4.0 ICS

For some strange reason, my Android 4.0 ICS tablet is no longer able to access the Internet. First, via wifi, it could'n connect to two distinct networks. Then later, I tried to connect it to home ...
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: • ...
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 ...
2
votes
2answers
9k views

How to browse to a NAS in Android?

I have a NAS attached to my home router, and the NAS is running a web server. I would like to run the browser on my Android tablet, enter the URL (in my case, diskstation/wordpress) and get the page. ...
2
votes
1answer
3k views

DNSCrypt on Android

I'd like to install DNSCrypt on Android. I have installed it on Windows 8, Linux Mint, and Kali Linux. But I'm very new to Linux, thus dealing with Android as a Linux distro is way out of my league. I'...
2
votes
1answer
2k views

How do I change DNS settings for 3G? [duplicate]

So I can use Twitter. It is okay when I use WiFi. But in 3G I cannot change DNS.
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
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
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: ...
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 ...
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
338 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
77 views

resolve zeroconf-style “hostname.local” names [duplicate]

Possible Duplicate: bash - How can I check if a computer exists on my network WITHOUT IP (i.e. by device name only)? I would like to know whether it is possible to not simply search for my avahi-...
2
votes
0answers
561 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,...