Your DNS server address is the IP address of the resolver your device uses to translate domain names (like
google.com
) into IP addresses. To find your DNS server address, you can check your network adapter settings on Windows, use Terminal on macOS or Linux, or look inside your router's admin panel. The exact steps depend on whether you want the DNS your device is using, the one your router assigns, or the authoritative DNS servers for a specific domain.
Content Table
- What Is a DNS Server Address
- How to Find Your DNS Server on Windows
- How to Find Your DNS Server on macOS
- How to Find Your DNS Server on Linux
- How to Find DNS Settings on Your Router
- How to Find DNS Settings on Android and iOS
- How to Find the DNS Servers for a Domain
- Common DNS Server Addresses at a Glance
What Is a DNS Server Address
When you type a URL into your browser, your device silently asks a DNS resolver "what IP address does this domain map to?" That resolver is identified by an IP address, which is your DNS server address. Most home users get one automatically from their ISP via DHCP, but you can override it with public alternatives like Google's
8.8.8.8
or Cloudflare's
1.1.1.1
.
There are two layers worth distinguishing:
- Local DNS configuration : the resolver IP(s) stored on your device or router, used for every lookup your machine makes.
- Authoritative name servers : the DNS servers that actually hold the records for a specific domain (identified via NS records).
The steps below cover both.
How to Find Your DNS Server on Windows
Using Command Prompt (fastest method)
ipconfig /all
Run that in Command Prompt and look for the section matching your active adapter (usually "Ethernet adapter" or "Wireless LAN adapter Wi-Fi"). The line labelled DNS Servers shows the IP address your machine is sending queries to. You may see two addresses: a primary and a secondary.
Using PowerShell
Get-DnsClientServerAddress
This returns a cleaner table with interface names and their assigned DNS server addresses, which is handy if you have multiple network adapters.
Using the Settings GUI
- Open Settings and go to Network & Internet.
- Click your active connection (Wi-Fi or Ethernet), then Hardware properties.
- Scroll down to find the DNS server assignment field.
How to Find Your DNS Server on macOS
Using Terminal
scutil --dns | grep nameserver
This lists every DNS resolver your system is aware of, including any split-DNS configurations set by VPNs or corporate profiles. The first
nameserver
line is typically the one actively used for standard lookups.
Using System Settings
- Open System Settings (or System Preferences on older macOS) and click Network.
- Select your active connection (Wi-Fi or Ethernet) and click Details.
- Click the DNS tab. The addresses listed under "DNS Servers" are your current local DNS configuration.
How to Find Your DNS Server on Linux
The right command depends on how your distribution manages DNS:
systemd-resolved (Ubuntu 18.04+, Fedora, most modern distros)
resolvectl status
Look for the
DNS Servers
line under your active interface (e.g.,
eth0
or
wlan0
).
Traditional resolv.conf
cat /etc/resolv.conf
Each
nameserver
line in this file is a DNS server address your system will query. On modern distros, this file is often a symlink managed by systemd-resolved, so the actual upstream resolver may differ from what you see here.
Using nmcli (NetworkManager)
nmcli dev show | grep DNS
How to Find DNS Settings on Your Router
Your router is usually the device that hands out DNS server addresses to every device on your network via DHCP. Checking the router lets you see the DNS server location upstream, which is often your ISP's resolver.
-
Open a browser and go to your router's admin page. Common addresses are
192.168.1.1,192.168.0.1, or10.0.0.1. Check the label on the bottom of your router if unsure. - Log in with your admin credentials.
- Navigate to WAN Settings, Internet, or Advanced > DNS (the label varies by brand).
- The DNS server addresses shown here are what your router uses and forwards to all connected devices.
0.0.0.0 or its own IP (like 192.168.1.1) as the DNS server, it's acting as a DNS forwarder. The real upstream resolver is set in a separate "upstream DNS" or "ISP DNS" field elsewhere in the router settings.
How to Find DNS Settings on Android and iOS
Android
- Go to Settings > Network & Internet > Wi-Fi.
- Long-press your connected network and tap Modify network.
- Switch IP settings from DHCP to Static. The DNS fields will now show the addresses currently in use (note: you may need to switch back to DHCP after viewing).
Alternatively, dial
*#*#4636#*#*
on some Android devices to open a testing menu that shows network info including DNS.
iOS / iPadOS
- Go to Settings > Wi-Fi and tap the blue (i) icon next to your network.
- Scroll to the DNS section. If it says "Automatic," tap Configure DNS to see the addresses being used.
How to Find the DNS Servers for a Domain
This is a different question: instead of asking "what resolver does my device use," you're asking "which name servers are authoritative for example.com?" This is useful for troubleshooting email delivery, verifying DNS changes, or doing a DNS settings lookup for any domain.
You can do this with
nslookup
or
dig
:
nslookup -type=NS example.com
dig NS example.com
Both commands query the NS records for the domain and return the hostnames of its authoritative name servers. You can also do this without installing any tools by using our DNS Lookup tool, which lets you query NS, A, MX, TXT, and other record types for any domain directly in your browser.
If you're troubleshooting a domain that isn't resolving correctly and you suspect a DNS propagation or blacklist issue, it's also worth checking whether the domain's IP has ended up on any blocklists. Our guide on how to remove your IP from a blacklist walks through that process in detail.
Common DNS Server Addresses at a Glance
If you're comparing what you found against well-known public resolvers, here's a quick reference:
| Provider | Primary DNS | Secondary DNS | Known For |
|---|---|---|---|
| Google Public DNS | 8.8.8.8 | 8.8.4.4 | Reliability, global coverage |
| Cloudflare | 1.1.1.1 | 1.0.0.1 | Speed, privacy-focused |
| OpenDNS (Cisco) | 208.67.222.222 | 208.67.220.220 | Content filtering options |
| Quad9 | 9.9.9.9 | 149.112.112.112 | Malware blocking, privacy |
| ISP-assigned | Varies | Varies | Default when using DHCP |
If your device shows one of the addresses in the Primary or Secondary column above, you know exactly which resolver you're using. If it shows an IP in the
192.168.x.x
or
10.x.x.x
range, your router is acting as a local DNS forwarder and you'll need to check the router's WAN settings to find the true upstream resolver.
For a deeper look at how DNS records work and what each record type means, the IANA root server documentation and Cloudflare's 1.1.1.1 setup guide are solid references. For the technical spec behind how DNS resolution works end-to-end, RFC 1034 is the original standard.
Instantly look up DNS records for any domain
Use our free DNS Lookup tool to identify DNS server addresses, query NS, A, MX, TXT, and other record types, and verify your DNS settings lookup results in seconds, no command line needed.
Try DNS Lookup →
It means your router is acting as a DNS forwarder. Your device sends DNS queries to the router, and the router forwards them to the real upstream resolver (usually your ISP's DNS or a public resolver you've configured). To find the actual upstream DNS server, log into your router's admin panel and check the WAN or Internet settings section.
Yes. Most systems support a primary and a secondary DNS server. Your device queries the primary first. If it doesn't respond within a timeout (typically 2-5 seconds), it falls back to the secondary. This is purely for redundancy. Both servers should return the same results since they resolve against the same global DNS infrastructure.
Go to Settings > Network and click your active Wi-Fi connection. Scroll down to the Name Servers section. If it shows "Automatic name servers," your Chromebook is using the DNS assigned by your router via DHCP. You can switch to "Custom name servers" to see or change the specific addresses being used.
Common reasons include faster browsing (public resolvers like Cloudflare's 1.1.1.1 often respond faster than ISP resolvers), improved privacy (some resolvers log less data), or malware blocking (Quad9 at 9.9.9.9 filters known malicious domains). Changing DNS does not affect your internet speed or bandwidth, only how quickly and securely domain names are resolved.
A DNS server address is the IP of the resolver your device contacts to perform lookups (for example, 8.8.8.8). A DNS record is the actual data stored in the DNS system for a domain, such as an A record mapping a hostname to an IPv4 address, or an MX record specifying mail servers. The resolver fetches those records on your behalf.
Run
nslookup -type=NS domain.com
in Command Prompt or Terminal, or use
dig NS domain.com
on macOS and Linux. You can also use a browser-based DNS lookup tool to query NS records without any command-line tools. The results show the hostnames of the authoritative name servers responsible for that domain's DNS zone.