Name Server Lookup: Who Runs a Domain's DNS?
Added a DNS record that does nothing? Moved providers and want proof it worked? The domain's nameservers decide whose records count. Look them up below, with the IP address of each, then use the table to work out which provider you're dealing with.
Reading the results on this page
Each NS record is one row with the nameserver's host name. Rows are sorted alphabetically. NS records carry no priority, and resolvers choose between the servers themselves. Under each name the page lists the public IP addresses of that server, from its A and AAAA records, for up to ten servers and six addresses each. Large providers answer from many machines behind shared addresses, so one address can stand for servers in several places.
- A server with no addresses under it has no public A or AAAA record, has only private ones (which this page withholds), or its lookup failed. A nameserver nobody can find slows lookups while resolvers wait for it.
- No NS records for a name such as www.example.com is normal. NS records sit at the top of a zone, so enter the registered domain, or the exact name where you delegated a subdomain.
- A single row is a single point of failure. Ask your DNS host for its full list.
- NXDOMAIN means the domain isn't registered or has expired.
- Nameserver names inside the domain itself, such as ns1.example.com for example.com, need glue records at the registry. See the last question below.
Why nameservers decide everything
Your registrar records which nameservers are in charge of your domain. When a resolver needs an answer, it asks the domain's top-level registry for those servers and then asks them directly. Whatever those servers publish is the truth for your domain, whatever any other dashboard says.
That's why a record you added in one control panel can appear to do nothing: if the domain's nameservers belong to a different provider, you edited a zone nobody reads.
Which provider runs these nameservers?
Nameserver host names usually give the provider away.
| Nameserver looks like | Usually means |
|---|---|
| name.ns.cloudflare.com | Cloudflare DNS |
| ns-123.awsdns-45.com (also .org, .net, .co.uk) | Amazon Route 53 |
| ns1-01.azure-dns.com | Microsoft Azure DNS |
| ns-cloud-a1.googledomains.com | Google Cloud DNS |
| ns01.domaincontrol.com | GoDaddy |
| dns1.registrar-servers.com | Namecheap |
| ns1.digitalocean.com | DigitalOcean |
These are common patterns, not a guarantee. A provider can name its servers anything, and a few big companies run their own.
What a healthy nameserver setup looks like
- At least two nameservers, so one failing doesn't take the domain offline.
- Servers on different networks, so a single outage can't reach all of them.
- The same set at the registrar and inside the zone. When they disagree you get a lame delegation, and resolvers see inconsistent answers.
- Every listed server actually answering. A dead one slows lookups while resolvers wait for it to time out.
Checking that a nameserver change worked
- Look up the domain's NS records and confirm they list the new provider's servers.
- Allow time for the old answer to expire. Registries and resolvers typically cache nameserver data for a day or more, so some networks keep seeing the old servers for a while.
- Keep the old provider's zone published, with the same records, until the change is visible everywhere. Taking it down early sends some visitors to a server that no longer answers.
- Ask each listed nameserver for the zone's SOA record directly and compare the serial numbers, as shown in the section on checking every server. Servers holding the same zone version report the same serial.
The same lookup on the command line
The names and addresses below are documentation values, so read them as an illustration of the output shapes. The last command resolves one nameserver's address, which this page does for you under each name.
$ dig +short NS example.com ns2.example.net. ns1.example.net. $ nslookup -type=ns example.com example.com nameserver = ns1.example.net. example.com nameserver = ns2.example.net. PS> Resolve-DnsName -Name example.com -Type NS Name Type TTL Section NameHost ---- ---- --- ------- -------- example.com NS 86400 Answer ns1.example.net example.com NS 86400 Answer ns2.example.net $ dig +short A ns1.example.net 198.51.100.53
Parent and child: why a registrar panel and this page can disagree
Two lists of nameservers exist. The registry holds the delegation, which you set through your registrar, and the zone itself holds NS records at its top. Resolvers use the registry's list to find the zone, then trust the zone's own list. This page asks a public resolver for the NS records, which normally returns the zone's own list. If that differs from your registrar panel, the zone and the delegation have drifted apart.
To read the registry's side, ask a server of the parent zone with recursion off. The command below does that for a .com name. For another top-level domain, take a server name from dig +short NS followed by the TLD, such as dig +short NS net. The registry sets the TTL on delegation records, not you, and some registries use two days (172800 seconds).
$ dig NS example.com @a.gtld-servers.net +norecurse +noall +authority example.com. 172800 IN NS ns1.example.net. example.com. 172800 IN NS ns2.example.net.
Checking every nameserver directly
This page reads the list, but it doesn't test the servers on it. To test one, ask it for the zone's SOA record. The fields are the primary server, the responsible mailbox, the serial, and the refresh, retry, expire and minimum timers.
$ dig +short SOA example.com @ns1.example.net ns1.example.net. hostmaster.example.com. 2026110901 7200 3600 1209600 3600 $ dig +short SOA example.com @ns2.example.net ns1.example.net. hostmaster.example.com. 2026110901 7200 3600 1209600 3600 PS> Resolve-DnsName -Name example.com -Type SOA -Server ns2.example.net
Equal serials mean both servers hold the same version of the zone. A lower serial on one server means it hasn't caught up with the primary. Some managed providers keep a fixed serial, in which case compare the records themselves.
A listed server that times out, answers REFUSED, or answers without being authoritative for the zone is a lame server. Remove it or fix it, because resolvers will keep trying it and waiting.
Common nameserver problems and the next step
| Symptom | Likely cause | Next step |
|---|---|---|
| You added a record and nothing changed | The domain's nameservers belong to another provider, so you edited a zone nobody reads | Look up the NS records here and edit the zone at the provider they name |
| Some visitors still see the old site after a switch | Resolvers still hold the old delegation or old answers | Keep the old zone serving identical records until the old TTLs have passed |
| Occasional failures or slow lookups | One listed nameserver is dead or lame | Query each server directly, then remove or repair the bad one |
| SERVFAIL for the whole domain | No listed server answers for the zone, the zone was deleted at the provider, or a stale DS record no longer matches the new provider's signing keys | Check that each nameserver answers, and remove any leftover DS record at the registrar if you moved to an unsigned zone |
| The domain works but ns1.example.com style names don't resolve | Glue records at the registry are missing or out of date | Correct the host addresses in your registrar's nameserver settings |
What a nameserver lookup can't prove
- It shows what a public resolver holds, which can lag after a change. It can't show a registrar change that is still pending.
- It reads the list but doesn't query each server, so it can't tell you a listed server is healthy.
- It has no DNSSEC record types, so it can't show a DS record or tell you whether the zone is signed.
- Provider names are guesses from host names. The addresses under each server say nothing reliable about where it physically runs.
Frequently asked questions
Related tools
Guides
- What Is a DNS Nameserver? How It Works
- NS Records Explained: How DNS Nameservers Work
- DNS Delegation Explained: How Parent and Child Zones Work
- What Is an SOA Record in DNS? Explained
- How to Change Nameservers Without Downtime: A Step-by-Step Runbook
- GoDaddy DNS Not Propagating? Common Pitfalls and How to Fix Them