Geek Dashboard Home
  • News
  • Smartphones
    • Android
    • iOS
  • Computers
    • Windows
    • macOS
  • Internet
  • Reviews
  • Tools
    • Password Generator
    • iFrame Tester
Search Geek Dashboard
Home • Internet

How to Find Out What DNS Servers Your PC, Mobile, and Router is Using

Mannatjot Singh • Updated March 27, 2020 • 9 min read •

The use of internet has increased dramatically over the course of time and now there are millions of websites that people can access. To us, these websites have a name through which we type them in the search bar and it redirects us to that website. But have you ever wondered what it would mean in computer language? Well, that is what DNS servers are all about. It converts the website name into an IP address which is easily readable to other electronic devices. A DNS server your PC or router using takes the initiative to translate the human-readable domain names (geekdashboard.com) to machine understandable IP address (45.76.166.196).

In simple words, DNS Servers acts as a communication bridge between the domain name and the IP address. Every website has an IP address which points to host server. If you want to know which DNS servers your router is using right now, whether it is a Windows, Mac, Linux, iOS or Android device, then stick around to know how to find out what DNS servers you are using.

Every internet service providers will have their own DNS servers and most of the people use the same. Luckily we can use the custom DNS servers either at the device level or at the router level. Custom DNS is useful in many ways and it can also speed up your internet connection to a certain level. If you don’t trust your ISP DNS server, you must use secure DNS servers like Google DNS and OpenDNS.

Why DNS server is crucial and DNS priority works?

Let’s take an example with your net banking website. Technically you are typing the domain name of the bank website (onlinesbi.com) in the web browser but to complete the request and load the webpage, the domain name must be converted to its IP address. Once the IP address conversion is done, the websites files and resources are loaded using the IP address of remote server. As said earlier, this conversion is performed by DNS servers but there is a chance attackers can spoof the IP address to load the fake website if your DNS server is compromised.

This is why DNS server is very important and you should know what DNS you are using on your device. Since DNS server can be modified at many levels, you need to first know how a DNS server is picked before converting a website name to IP address.

How DNS Priority Works

  • If you didn’t make any changes to DNS after setting up your internet, then you must be using the DNS server provided by your ISP.
  • If you make changes to the DNS server in your router, then your ISP DNS is ignored and all devices connected to the router will start using the DNS server of the router.
  • When you set custom DNS in your device (it can be a PC, Laptop, Mac, PS4, Android, iOS or any device with internet access), then it will use the device DNS and it will ignore both router and ISP DNS address.
Also Read: How to set custom DNS in PS4 to improve internet speed

Device DNS takes the highest priority while ISP DNS has the least priority. Changing DNS in the router is useful when you have multiple devices connected to it. Instead of changing DNS in every single computer, you can just change the DNS settings in the router and all connected devices will start using the same DNS server.

Step by Step guide on checking the DNS Servers you are using

Since DNS settings can be modified at different places, you need to know what DNS servers you are using and what DNS your router is using. By knowing these two DNS addresses, you can easily conclude whether you are using a custom DNS or router DNS or the default ISP DNS.

Find Out What DNS Servers You Are Using in Windows, Mac, Linux, Android and iOS

In this article, I’m going to show you how you can check the DNS servers you are using right now on:

  1. Windows
  2. Mac
  3. Android
  4. Linux
  5. iOS
  6. Router

1. What DNS you are using on Windows 10/8/7/XP

Checking the DNS Servers on your Windows device is an easy process as it already has a built-in tool to lookup what DNS you are using. If you ask me what DNS am I using right now, then I would do the following steps to find DNS address:

  1. Open Run by pressing “Win” and “R” keys simultaneously.
  2. Type “cmd‘ and hit Enter to open Command Prompt.
  3. Run the command nslookup geekdashboard.com

Finding DNS Servers in Windows using nslookup command

You can replace geekdashboard.com with any domain of your choice. After running the nslookup up for any website, it shows the server and DNS address you are using.

From the above screenshot, my Windows machine is using Hathway DNS server (202.88.149.25) which is the default DNS server of my ISP.

Alternate way to check DNS servers you are using in Windows

  1. Open Command Prompt.
  2. Type the command ipconfig /all and press Enter.
  3. You can find both Primary and Secondary DNS along with other details.

Finding DNS Servers on Windows using ipconfig Command

2. What DNS am I using in Mac

Here are the two ways to find out what DNS servers you are using on macOS:

Method 1:

The first method to find out DNS server in Mac is really simple and straightforward. You need to just run a command in terminal.

  1. Open Terminal
  2. Type the command grep nameserver <(scutil --dns)
  3. Both primary and secondary DNS will be shown at nameserver[0] and nameserver[1].

Finding DNS of Mac using Terminal

scutil --dns is the actual command we are running but it prints a lot of other information. Since we need only DNS server details, we are using grep to filter the output of command containing the word “nameserver”

Method 2:

Here is another method to find out what DNS you are using in Mac. If you are not a techie enough to use terminal commands, then you might find this method easy to use.

  1. Open System Preferences.
  2. Click on Network which will show the status of all external ports.
  3. Select your WiFi or Ethernet connection and click Advanced.
  4. Go to the DNS tab to see the primary and secondary DNS address your Mac is using.

Finding DNS servers of Mac in Network Settings

From the above screenshot, both DNS Servers and Search Domains columns are in gray color. Meaning, my device is using the default DNS server of my ISP. You need to click on the + icon at respective columns to use custom DNS servers.

3. Find DNS server you are using in Linux

The user interface of Linux devices are very different from Windows and Mac but finding what DNS Servers you are using or checking your DNS settings are easier than you think. In Linux, a resolver located at /etc/resolv.conf is used to find out DNS servers your device is using.

You can use either cat /etc/resolv.conf or grep /etc/resolv.conf command to find the DNS servers in Linux.

4. What DNS are you using in Android

For Android users out there, you guys have to download an application called Network Info II to check DNS servers your Android device is using. This app is free to download on the Google Play Store and works as Android 2.1 and higher. It has no ads and can show a lot more information than you might need. Since the minimum SDK required for this app is 7, literally this app is compatible with all Android devices available today.

Finding out DNS Servers your Android device is using

Download and open Network Info II application. Go to the WiFi tab and you can find the server addresses at DNS1 and DNS2.

Download on Google Play

5. What DNS are you using in iOS

For the people using iOS devices like iPhone and iPad, there are a couple of methods to check your DNS Settings

Method 1: Finding DNS server in iPhone from Settings:

  1. Open Settings.
    Open Settings in iPhone or iPad
  2. Go to Wi-Fi.
    Wi-Fi Options in Settings
  3. Click on the ‘i‘ button on the Wi-Fi you are connected.
    Name of the WiFi iPhone is currently using
  4. Tap on Configure DNS.
    Details of connected WiFi
  5. It will show you the DNS servers your network is using
    DNS Address is shown below DNS SERVERS
Also Read: How to view saved WiFi passwords on iPhone and iPad

Method 2: Finding DNS server in iPhone using App:

Another method to find out the DNS Servers of iPhone is by downloading and installing the application called Network Analyser. Though free version with bottom banner ad does the job, you can still upgrade to pro version to remove ads and support the developer.

Download from App Store

Once you download the app, open it and DNS Server IP shows the DNS server your iPhone is using.

Network Analyser for iOS to find out DNS Servers

6. What DNS is my router using

When you set up your new internet connection, you might have noticed technician configuring your router. They configure your WiFi name, password, static IP address (if they are providing one), DNS servers etc. Since we don’t often access our router settings, we continue to use the DNS servers our ISP is providing.

In some cases, this DNS servers will be changed with custom third-party servers to monitor traffic and restrict access to websites. Generally, network administrators in corporate offices, colleges, hostels do this to monitor what their staff or students are accessing. However, you can use custom DNS on any internet enabled device to bypass the router DNS.

To view what DNS your router is using, you need to access router settings. IP address of a router admin page will be either 192.168.1.1 or 192.168.0.1 (check your router manual to find this IP address).

Enter username and password of your router to log in. If you are not sure about username and password and if they are unchanged, try admin as username and leave password empty.

In Dlink modems, DNS server addresses are visible at Setup – Internet Setup tab. Depending on the router manufacturer, you need to dig the router settings to find the DNS server details. If you change DNS address here, all connected gadgets will start using the new DNS servers expect the devices which are using custom DNS at the device level.

Finding the DNS address in router settings

In the end, all I want to say is whether you want to hide the location of your network, block some kind of content that you might not want to see or just want to increase the speed of your network, then knowing what DNS servers you are using is key as it can help restrict the above-mentioned things by installing related software and proxy.

Do you know any other methods to check DNS servers? Let us know in the comments down below as it would be helpful to us and the readers as well.

Internet Android DNS DNS Servers iOS Linux macOS Windows

Be the Change!

Spread the word and help us create better tech content

Facebook Twitter Reddit WhatsApp Pinterest
Avatar for Mannatjot Singh

Mannatjot Singh

•
Facebook LinkedIn Instagram

Mannatjot has an immense love and passion for technology and writing. Combining both of these and it becomes a way for him to express his love of tech to all the people on the Internet by providing tech-savvy articles.

Read all 18 articles from Mannatjot

Over 1,30,286+ Followers

Join now to get all latest updates from Geek Dashboard

Facebook Twitter Telegram Pinterest YouTube Instagram

Recently Published

  1. TAGRY X08 True Wireless Earbuds Review: Budget-Friendly Excellence with Long Battery Life
  2. Why Are Tech Lawsuits Becoming the New Normal in the US
  3. My Experience of Using TuneFab Amazon Video Downloader
  4. Wondershare Dr. Fone 13 Review - The Ultimate Mobile Toolkit for iOS and Android
  5. TOZO OpenEgo Review - Is It a Reliable and Practical Headphone?
  6. Samsung Lost its Crown as the Top Foldable Smartphone Seller Worldwide

Download the Apps Now

We put a lot of effort and resources in writing our articles, and we believe it is our responsibility to satisfy your tech hunger

Download Geek Dashboard Android App on Google PlayAndroid App onGoogle Play Download Geek Dashboard Extension on Chrome Web StoreBrowser Extension onChrome Web Store
Geek Dashboard Logo

Geek Dashboard brings you the latest and greatest in technology news, reviews, and how-to guides. From smartphones to laptops, drones to VR and everything in between, we've got you covered

Got a Tip? Write In? tip@geekdashboard.com

© 2012 - 2025 · Geek Dashboard, product of ikva eSolutions

  • Blog
  • Advertise
  • About
  • Jobs
  • Contact
  • Privacy Policy
  • Write For Us
  • T&C
  • Office Setup

No dogs were injured while working on this website because we love them