"Where is our DNS hosted?" sounds like a question with an obvious answer, until you inherit a domain registered at one company, with a website at a second and email at a third. Editing records at the wrong place is one of the most common reasons DNS changes "don't work". The nameservers tell you which company's servers actually answer for the domain, and therefore where every record must be edited.
This guide explains how nameserver delegation works, how to identify a domain's DNS host, how to read the results, and how to move DNS to a new provider without taking your site or email offline.
Registrar, DNS host and delegation
Three roles are often confused:
- Registry: runs a top-level domain such as
.comor.organd publishes which nameservers are responsible for each domain in it. - Registrar: the company you pay for the domain. It passes your chosen nameservers to the registry.
- DNS host: the company running the nameservers that hold your zone (A, MX, TXT and other records).
The registrar and DNS host are often the same company by default, but they do not have to be. When a resolver looks up www.example.com, it asks the root, then the .com servers, which reply with a referral: "ask these nameservers". Those nameservers are authoritative for the zone and give the final answer.
The nameserver list therefore exists in two places:
- At the parent (the registry), set through your registrar. This is the delegation.
- Inside the zone itself, as NS records at the apex.
They should match. If they drift apart, some resolvers follow one set and some the other.
Find a domain's nameservers
The NS Lookup shows the nameservers that a public resolver sees, with their addresses and the DNS provider.
- Open the NS Lookup and type a domain, for example
example.com. You can also type a subdomain; the tool walks up the tree to the zone that holds it. - Choose the resolver if you want, then click Find nameservers.
- The heading shows the zone name. If you typed
shop.example.comand it has no NS records of its own, a note explains that it is part ofexample.com. - Read the findings: the number of nameservers (at least two are required for redundancy), any nameserver without an address, IPv6 reachability and the detected DNS provider.
- The table lists Nameserver, IPv4, IPv6, Provider and TTL.
- Copy nameservers copies the list, ready to paste into a registrar form or a ticket.
If the findings mention multiple DNS providers, make sure both really serve identical data; mixing providers is a deliberate redundancy setup in some organisations and a forgotten leftover in others.
Command-line and registry views
dig +short NS example.com
nslookup -type=ns example.com
To see the delegation straight from the parent, bypassing caches, trace the query:
dig +trace example.com
The registry's view is also in the domain's registration data. The WHOIS Lookup lists the nameservers on file at the registry, which is exactly what your registrar setting controls. Comparing that list with the NS Lookup result is a quick way to spot a mismatch between delegation and zone.
Switching DNS providers without downtime
Most outages during a DNS move happen because the new zone is missing records the old one had. Follow this order:
- Export or copy every record from the current provider: A, AAAA, CNAME, MX, TXT (SPF, DKIM, DMARC, verification tokens), SRV, CAA. The DNS Lookup with All common types gives a quick inventory, but it cannot list names it does not know about, such as DKIM selectors or other subdomains, so use the provider's export where available.
- Recreate the zone at the new provider and compare record by record. Query the new nameservers directly, for example
dig @ns1.newdns.example MX example.com, before you switch. - Handle DNSSEC first. If the domain is signed, either disable DNSSEC (remove the DS record at the registrar and wait for it to expire from caches) or perform a proper key handover. Changing nameservers while an old DS record remains makes the domain fail validation. See how to enable DNSSEC and fix validation errors for details.
- Change the nameservers at the registrar.
- Keep the old zone running for a few days. Resolvers that cached the old delegation keep asking the old servers until the parent's NS TTL runs out, which for many TLDs is a day or two.
- Verify with the NS Lookup and the DNS Propagation Checker set to type NS.
Common nameserver problems
Only one nameserver
Registries generally require at least two, and one server is a single point of failure. Add the second nameserver your provider supplies.
Lame delegation
A nameserver is listed but does not answer authoritatively for the zone, often because the zone was deleted at an old provider. Remove it from the delegation at the registrar.
Nameserver hostname without an address
The tool flags this as a possible typo, for example ns1.exmaple.net. Correct it at the registrar.
Records edited at the wrong company
If your changes never appear, compare the provider in the NS Lookup with the panel you edited. Changes must be made at the DNS host the nameservers belong to.
Frequently asked questions
What is the difference between a registrar and a DNS host?
The registrar manages your registration and tells the registry which nameservers to use. The DNS host runs those nameservers and stores your records. They can be the same company or different ones.
How many nameservers should a domain have?
At least two, ideally on separate networks. Most DNS providers give you two to four, all of which should be listed at the registrar.
How long does a nameserver change take?
The registry usually updates quickly, but resolvers keep the old delegation cached until its TTL expires. Plan for up to one or two days of overlap.
Why does a subdomain show the parent's nameservers?
Most subdomains are simply records inside the parent zone. Only a subdomain that is separately delegated has NS records of its own.
Can I use two DNS providers at once?
Yes, as long as both serve identical records. It needs a way to keep the zones in sync and extra care if the domain uses DNSSEC.