Your DNS server is usually listed in your network settings, router page, or a quick command-line lookup on the device you’re using.
Most people only think about DNS when the internet starts acting weird. Sites won’t load, one app works while another stalls, or a device connects to Wi-Fi but still feels dead. In many of those cases, the first thing worth checking is the DNS server your device is using.
DNS turns a web address like example.com into the IP address your device needs. If that server is slow, broken, or set to something you didn’t expect, browsing can feel flaky even when your Wi-Fi signal looks fine.
This article shows where to find your DNS server on Windows, Mac, Android, iPhone, Linux, and your router. You’ll also see how to tell whether your DNS comes from your internet provider, your router, or a custom service you set by hand.
What A DNS Server Is And Why It Matters
A DNS server is the name lookup service your device asks when it needs the address behind a domain name. Without it, typing a site name into a browser would get you nowhere.
You don’t need to know much theory to check it. What matters is this: your device is usually getting DNS in one of three ways.
- Automatically from your router through DHCP
- Manually on the device with a custom DNS address
- Through encrypted DNS such as Private DNS or a DNS-over-HTTPS setting
That source changes where you need to look. A laptop may show a local router address, while your phone may point to a named private DNS provider instead.
How To Find DNS Server On Windows, Mac, And Phones
If you just want the fastest path, start in the device’s network settings. That’s usually where the active DNS entry appears. Then, if the result looks odd, use a command or router check to confirm what’s really happening.
Find DNS On Windows
On Windows 10 or 11, open Settings, then head to Network & internet. Pick the connection you’re using, such as Wi-Fi or Ethernet, and open its details. Windows also lets you inspect DNS through command tools when you want a second view.
- Open Settings.
- Go to Network & internet.
- Select your active connection.
- Open the connection details.
- Look for the DNS server entry.
If you want a faster check, open Command Prompt and run ipconfig /all. Scan the active adapter block and look for the line labeled DNS Servers. You can also use nslookup, which Microsoft documents as a DNS diagnostic command.
Find DNS On Mac
On a Mac, the cleanest place to check is System Settings. Open Network, pick your current connection, click Details, then open DNS. Apple shows the DNS servers and search domains in that panel.
If you see more than one server listed, your Mac will usually try them in order. That means the first entry often gets hit first, while the others sit there as backups.
Find DNS On Android
Android can be a little sneaky because some phones show standard DNS through Wi-Fi details, while newer Android versions also have a separate Private DNS menu. If Private DNS is turned on, that may be the setting that matters most.
- Open Settings.
- Tap Network & internet.
- Tap Private DNS.
- Check whether it says Off, Automatic, or a provider hostname.
If you’re on Wi-Fi, you can also open that network’s details and check whether DNS was assigned automatically or entered by hand.
| Device | Where To Check | What You’ll Usually See |
|---|---|---|
| Windows 10 | Settings > Network & internet > Adapter details | DNS server IP address from router or manual entry |
| Windows 11 | Settings > Network & internet > Connection properties | DNS server IP address and assignment mode |
| Mac | System Settings > Network > Details > DNS | One or more DNS servers in order |
| Android | Settings > Network & internet > Private DNS | Off, Automatic, or provider hostname |
| Android Wi-Fi | Wi-Fi network details | Automatic or manual DNS values |
| iPhone / iPad | Wi-Fi > network info > Configure DNS | Automatic or manual DNS addresses |
| Linux | Network settings or /etc/resolv.conf |
Nameserver entries or DNS from Network Manager |
| Router | Router admin page | WAN DNS, LAN DNS, or upstream DNS set by ISP |
Find DNS On iPhone And iPad
On iPhone and iPad, DNS is set per Wi-Fi network. Open Settings, tap Wi-Fi, tap the info icon next to the connected network, then find Configure DNS. If it says Automatic, the network is handing DNS to the device. If it says Manual, someone entered it directly.
Cellular connections don’t give you the same simple DNS edit screen you get on Wi-Fi, so many people only notice their DNS choice when they switch networks.
Find DNS On Linux
Linux depends on the distro and desktop you’re using, though the pattern stays close. In desktop settings, open your network connection and check the IPv4 or IPv6 tab. If you prefer the terminal, many systems still show current resolver entries in /etc/resolv.conf.
That file can be managed by NetworkManager, systemd-resolved, or another service, so treat it as a live clue, not always the full story.
How To Check Your DNS Server With Commands
Settings screens are fine, but commands are better when you want the active answer without a lot of tapping around.
Windows Commands
Use these in Command Prompt:
ipconfig /all— shows the DNS servers tied to each adapternslookup example.com— shows which DNS server answered the query
If your browser fails but nslookup still returns a clean answer, the problem may not be DNS at all. If nslookup times out or points to a strange server, that’s your clue.
Microsoft’s nslookup command reference lays out how the tool is meant to be used, and Microsoft’s Windows network settings page also shows where connection details live in modern versions of Windows.
Mac And Linux Commands
On Mac and many Linux systems, these checks are common:
cat /etc/resolv.conf— shows resolver entries on many setupsscutil --dnson Mac — shows active DNS resolver data in more detail
When the output lists a local address like 192.168.1.1 or 192.168.0.1, your router is usually acting as the middleman. The router then passes queries to your internet provider or another DNS service upstream.
How To Find DNS Server From Your Router
If several devices on the same network all show the same DNS result, the router may be handing that out automatically. In that case, the router admin page is the cleanest place to confirm it.
- Open the router gateway in a browser.
- Sign in to the admin page.
- Check the Internet, WAN, DHCP, or LAN section.
- Find fields labeled DNS, Primary DNS, Secondary DNS, or DNS Server.
This check is useful when one device says “automatic” and you want the actual numbers behind that setting. It also helps when a smart TV, console, or printer hides DNS details in a clunky menu.
| What You See | What It Usually Means | What To Do Next |
|---|---|---|
| 192.168.x.x or 10.x.x.x | Router is handing DNS to the device | Check the router’s WAN or DHCP DNS fields |
| Single public IP | Device is using one direct DNS server | Confirm whether it was set by hand |
| Two public IPs | Primary and backup DNS servers are set | Test whether the first one is working cleanly |
| Provider hostname on Android | Private DNS is turned on | Check whether the hostname is correct |
| Automatic on iPhone | Wi-Fi network is giving DNS to the device | Open router settings if you need the real values |
How To Tell If Your DNS Is Automatic Or Manual
This is where many people get tripped up. A device can show a DNS address, but that does not always mean you typed it in. It may just be what the network supplied.
Use this quick rule:
- Automatic means the network or router picked the DNS server
- Manual means someone entered a DNS server directly on the device
- Private DNS or encrypted DNS means the device may be using a named provider instead of plain DNS from the router
On Mac, Apple’s DNS settings page for Mac shows exactly where those entries live. On Android, Google’s Private DNS steps show the separate menu used on newer devices.
Common Reasons To Check DNS
You don’t need to babysit DNS every week. Still, a few cases make this check worth the minute it takes:
- Web pages fail with “server not found” errors
- One device works while another on the same Wi-Fi does not
- You changed routers and something feels off after the swap
- You want to confirm parental filtering or custom DNS is active
- You switched to a public DNS service and want proof it stuck
If you changed DNS and the old value still appears, disconnect and reconnect the network, then run the check again. Routers and devices often hold onto prior lease data for a while.
Best Way To Check DNS Without Guessing
Start on the device. Then verify with a command. Then check the router only if the device says “automatic” or points to a local address. That three-step pattern clears up most DNS confusion fast.
If the server value is public, that’s usually the actual resolver. If it is local, the router is probably forwarding queries. If Android shows a provider hostname, Private DNS is in play and that setting may override what your Wi-Fi would normally hand out.
Once you know where the DNS server comes from, fixing slow lookups or broken browsing gets much easier. You stop guessing and start checking the right layer first.
References & Sources
- Microsoft.“nslookup.”Explains the Windows DNS lookup command used to check which server answers a query.
- Apple.“Change DNS settings on Mac.”Shows where Mac users can view and edit DNS servers in current system settings.
- Google.“Manage advanced network settings on your Android phone.”Shows where Android users can view and change Private DNS settings.
