User Agents

Web browsers and everyday web tech, explained

Check Your DNS Server: How To & Why It Matters

· 7 min read · How the Web Works

In this article
  1. What a DNS Server Actually Does
  2. How to Check Your DNS Server on Windows
  3. How to Check DNS on macOS
  4. How to Check DNS on Android and iOS
  5. How to Check DNS on Your Router
  6. What to Do With the IP Address You See
  7. Why Checking Your DNS Matters
  8. How to Change Your DNS Server
  9. Frequently Asked Questions

Checking your DNS server tells you which domain name system resolver your device is currently using to translate website names into IP addresses. You can see it in a few clicks or commands on Windows, macOS, Android, iOS, or your router, and knowing it helps you diagnose slow browsing, blocked sites, or privacy concerns. Here is exactly how to check it on each platform, what the results mean, and when you might want to change it.

What a DNS Server Actually Does

Every time you type a domain like example.com, your device asks a DNS server, “What is the IP address for this name?” The server looks up the answer in its records (or asks other servers) and sends it back, usually in milliseconds. That IP address is what your browser connects to. Your DNS server is therefore a critical part of every internet request, yet most people never think about it.

Your Internet Service Provider (ISP) assigns a DNS server automatically when you connect. That server may be fast or slow, may log your browsing history, and may block certain sites (for example, adult content or copyright-infringing domains). Third-party DNS services like Cloudflare (1.1.1.1), Google (8.8.8.8), or Quad9 (9.9.9.9) offer different trade-offs in speed, privacy, and filtering.

How to Check Your DNS Server on Windows

Windows gives you two main ways: the Settings app and the command line. Both show the same information, but the command line also reveals the DNS servers pushed by DHCP, which is useful for troubleshooting.

  1. Open Command Prompt (press Win+R, type cmd, press Enter).
  2. Type ipconfig /all and press Enter.
  3. Scroll to the active network adapter (Wi-Fi or Ethernet). Look for “DNS Servers” – you may see one or two IP addresses.

In Settings, go to Network & Internet → Wi-Fi (or Ethernet) → click the connected network → scroll to “DNS server assignment.” It will show “Automatic (DHCP)” or a manual IP. To see the actual IP, you need the command line method or click “Edit” next to DNS assignment.

How to Check DNS on macOS

macOS shows DNS servers in System Settings, and also lets you test resolution from the terminal.

  1. Open System Settings → Network.
  2. Select your active connection (Wi-Fi or Ethernet) and click Details.
  3. Click the DNS tab – the list of DNS servers appears under “DNS Servers.”

Alternatively, open Terminal and run scutil --dns to see the full resolver configuration, including the primary and secondary servers. This is especially helpful if you use a VPN or have multiple network interfaces.

How to Check DNS on Android and iOS

Mobile operating systems hide the DNS server address deeper, but it is still accessible.

Android (stock Android 9+): Go to Settings → Network & internet → Wi-Fi → tap the connected network (or the gear icon) → Advanced → IP settings → change from “DHCP” to “Static” (you can switch back after reading). The DNS fields appear. On Samsung devices, the path may be Settings → Connections → Wi-Fi → tap the gear → IP settings → “Static.”

iOS: Go to Settings → Wi-Fi → tap the blue “i” next to your network → scroll to DNS section. It shows “Configure DNS” as Automatic or Manual. If Automatic, tap it and switch to Manual to see the actual IP addresses (then switch back if you don’t want to change).

How to Check DNS on Your Router

Your router itself has a DNS setting that it passes to every device on your network. Checking it is useful because even if your phone or PC shows a different DNS (due to manual settings), the router is the default for everything else.

  1. Find your router’s IP address (often 192.168.1.1 or 192.168.0.1 – check the sticker on the router or your computer’s gateway).
  2. Open a browser and go to that IP. Log in with the admin username and password (often printed on the router).
  3. Look for a section called Internet, WAN, or DNS. The DNS servers are listed there, either as “Get automatically from ISP” or as manual IPs.

Changing DNS on the router affects all devices at once, but some routers hide the setting behind “Advanced” or “Connection Type.”

What to Do With the IP Address You See

Once you have the IP, you can identify which provider it belongs to. Run a quick reverse DNS lookup (for example, nslookup 8.8.8.8 on Windows or dig -x 8.8.8.8 on macOS) or just search the IP online. Common ones:

  • 8.8.8.8 / 8.8.4.4 – Google Public DNS
  • 1.1.1.1 / 1.0.0.1 – Cloudflare
  • 9.9.9.9 – Quad9 (blocks malicious domains)
  • 208.67.222.222 / 208.67.220.220 – OpenDNS
  • Your ISP’s IP – often looks like 75.75.75.75 (Comcast) or similar.

If the IP is not one of these, it is likely your ISP’s resolver. That is normal, but it means your ISP can see every domain you visit (not the full URL, but the domain). If you prefer more privacy, change your DNS to a third-party service.

Why Checking Your DNS Matters

There are three common reasons to check:

  • Slow browsing: A slow DNS server adds latency to every request. Switching to a faster resolver can speed up page loads, especially on first visits.
  • Blocked websites: Your ISP or router may be using a DNS that blocks certain domains. Checking shows if you are being redirected to a block page.
  • Privacy and security: Some DNS providers log your queries. Others, like Cloudflare and Quad9, have strict no-logging policies or block known malicious sites.

A common misconception is that changing DNS hides your browsing activity. It does not – the website itself still sees your IP, and your ISP still sees the IP address you connect to. DNS only hides the domain name from your ISP if you use DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT), which encrypt the query. Even then, the ISP sees the destination IP, which can often be reverse-mapped to a domain.

How to Change Your DNS Server

Changing DNS is safe and reversible. You can do it per-device or on the router. Here are the general steps for each:

Windows: Settings → Network & Internet → Wi-Fi (or Ethernet) → click the network → Edit next to DNS assignment → change from Automatic to Manual → enable IPv4 → enter the new DNS IPs (e.g., 1.1.1.1 and 1.0.0.1) → Save.

macOS: System Settings → Network → Details → DNS → click the “+” under DNS Servers → type the new IP → OK.

Android: Wi-Fi settings → long-press the network → Modify network → Advanced → IP settings → Static → change DNS 1 and DNS 2 → Save. (Note: some Android versions only allow this for the current Wi-Fi network, not globally.)

iOS: Settings → Wi-Fi → tap the “i” → Configure DNS → Manual → delete old servers, add new ones → Save.

Router: Log into the admin page, find the DNS settings under Internet/WAN, enter the new IPs, and save. The router will then hand those to all devices after a reboot.

After changing, flush the DNS cache to clear old entries:

  • Windows: ipconfig /flushdns
  • macOS: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
  • Linux: sudo systemd-resolve --flush-caches (or restart the resolver)

Frequently Asked Questions

What is the fastest DNS server?

Speed varies by location and ISP. Public resolvers like Cloudflare (1.1.1.1) and Google (8.8.8.8) are generally fast, but the only way to know for your connection is to run a benchmark tool or test manually. The difference is often a few milliseconds, which you may not notice except on the first lookup of a new domain.

Is it safe to use a third-party DNS like 8.8.8.8?

Yes, for most users. Google, Cloudflare, and Quad9 are reputable and have clear privacy policies. However, you are trusting them with your domain lookup history. If you are concerned, use a DNS-over-HTTPS (DoH) service, which encrypts the query and prevents your ISP from seeing it.

Why does my DNS server show a different IP than my router’s setting?

Your device may have a manual DNS setting that overrides the router’s. Also, some VPNs or privacy apps change DNS on the device. Check the device’s network settings for a “DNS” field and set it to “Automatic” to use the router’s value.

Can I use the same DNS server for IPv4 and IPv6?

Yes. Most public DNS providers offer IPv6 addresses (e.g., Cloudflare: 2606:4700:4700::1111, Google: 2001:4860:4860::8888). If your network uses IPv6, you can enter those separately. If you only enter IPv4, IPv6 traffic may still use your ISP’s DNS unless you configure both.

Does changing DNS affect my internet speed for downloads?

No. DNS only resolves domain names to IP addresses. Once the connection is established, data flows directly between your device and the server. A slow DNS can delay the initial connection, but it does not affect the throughput of the download itself.

What does it mean if my DNS server is unreachable?

If you see “DNS server not responding,” it means your device cannot reach the resolver. This can be due to a wrong IP, a firewall blocking port 53, or the DNS service being down. Try switching to a public DNS like 8.8.8.8 to see if the issue is with your ISP’s server.