Should DNS be on or off on Android?
I'm developing a web app for Android.
I have used DNS to handle the domain and the host on my home computer so I know exactly what is being hosted, etc.
But on my home computer it works perfectly fine for everything but the apps need to be on a specific subdomain and can't figure out how to point everything to a specified subdomain on my Android device. I don't see why this is such a big deal because if you type in domain.com/something then it finds it on my phone. The apps are on . It's just that they are on a different subdomain. Can someone explain to me?
Thanks. Logan. You shouldn't be adding the subdomain to DNS entries. You should have some sort of DNS resolution service (like dnsmasq) setup that will resolve the requests from the apps on the phone, so you don't need to add the subdomains into DNS.
What is DNS on an Android phone?
In this article, we are going to answer that question by first detailing what DNS is, why you need it, and when you may need it.
Then, we'll describe how to configure your phone for use as a WiFi hot spot without having it appear as one. In other words, we will be giving you options on how you can set up your WiFi hotspot without being tracked or identified.
What is DNS? DNS stands for Domain Name System. In the simplest of terms, DNS allows a network to map names to IP addresses.
Domain names are not the same as IP addresses. Instead of entering in your browser's address bar, you instead type This gets routed to your ISP's server, which responds with an IP address that your router uses to figure out where Google's website is. It also allows users on your local network and anywhere in the world to find out exactly where they are at any given moment.
When a visitor asks the phone to enter a website, it first contacts the DNS server to find out if the IP address belongs to Google. If it does, then the phone gets redirected to the nearest Google server, not necessarily the closest one.
Where Do I Need It? All internet browsers need a DNS service to resolve website addresses, so a phone or tablet can't serve as a wifi hot spot without providing at least a basic domain name system service. Although, it's almost always running in most laptops, tablets, and other devices that are connected to the internet.
The reason we need to know what a domain name is, is because an IP address doesn't tell us which website someone wants to visit. Instead, it shows us their location. It only helps us know something if we have a domain name to help us locate the website's real location. For example, here are two websites that have the same IP address but different names:
But, if someone wanted to go to the Site A website from a visitor's browser, you would still get that same IP address. If you want to understand how the process works in more detail, here are some examples that will show how the process works in action.
How do I check my DNS server on Android?
First of all, I will assume that you have a DNS server (you can use Google's DNS or OpenDNS). You should have your own DNS server. You can either run your own DNS server on your computer (if you have a spare computer) or use OpenDNS or Google's DNS.
You should also be able to ping the IP address of your DNS server: PING 1.1 (1.1): 48 data bytes
Request timed out.1 (1.1): 48 data bytes
Request timed out.1 (1.1): 48 data bytes
Now, in order to check the settings of your DNS server, you can use a tool called dnslookup, available from the Android Market. First of all, download the app from the Market. Then, when it's installed, open it and tap on the "Settings" button: When the settings page opens, tap on the "Resolve DNS" button: In the "Server:" field, you should have the IP address of your DNS server, in our case 1. Tap on the "DNS" button and the "DNS List" page should appear: You can now see the DNS servers that are currently being used by the device. Please note that the settings for your DNS server may not be the same as the settings for the Wi-Fi settings of your phone. You should check both.
To check your current DNS server, use this app on your phone: On Android, the DNS resolution is controlled by system settings. I'm currently using the free (as in beer) app, "Root DNS Manager", but I'm sure there are other good apps out there. It provides a GUI to control the DNS server (or just the DNS addresses that you want to use). I found this app on the Android Market, and it is free (no hidden charges).
What is the best DNS for Android?
I want to change my DNS (the DNS I use when I'm at home) to be a DNS that I set on my router. How do I do this? The general principle of DNS is that it's the local DNS server for your computer, but the router's DNS is usually the one you use. For instance, my router is set to be a static IP address and to have the nameserver set to be 208.67.222 (8.8). This means that it can serve up a local DNS server for my computers, and I can still access it through my router's IP address.
I've also tried using a different DNS server for my router, and it was a bit of a pain in the ass to set up, so I don't really recommend it. EDIT: Also, some ISPs have a DNS server that they use for their own users; if you're getting DNS queries that are being redirected, this might be the problem.
Related Answers
Is DNS server a proxy server?
I am trying to understand what DNS server does. I am aware that DNS server do...
What does proxy mean?
If you are asking about VPN vs proxy, then VPN vs proxy is a question that comes more...
What is a proxy server and why do I need it?
A proxy server is a server computer that makes web connections...