An NS record names a nameserver for a domain. A nameserver is a server that holds the DNS records of the domain and answers questions about them. This tool looks up the NS records of a domain and lists the hostnames of its nameservers.
The list tells you which company runs the DNS for a domain. That company is where the records are edited, and it is often not the one that sold the domain or hosts the website.
How to look up the nameservers of a domain
- Type the main domain into the field, for example
example.com. Leave out www and any other subdomain. - Click Lookup. The record type is fixed to NS.
- Read the rows Domain, Record type and Records found. A normal result has two or more records.
- Go through the DNS records table. Each row has the type NS and, in the Value column, the hostname of one nameserver.
You can paste a full web address. The tool takes the hostname out of it, so https://www.example.com/page is looked up as www.example.com. That is a subdomain, and the result will normally be empty. Shorten it to example.com yourself.
The result is also available as JSON under the table, with buttons to copy or download it.
How to read the result
Every row in the table is one nameserver, and all of them are meant to hold an identical copy of the records. The order of the rows means nothing. NS records have no priority number, unlike MX records, and resolvers choose freely among the servers.
Look at the part of each hostname after the first dot. Nameservers called ns1.example.net and ns2.example.net belong to whoever runs example.net. For most domains that is a DNS company, a registrar or a web host, and the name shows which one.
The page says "No records were returned." when the table is empty. That has two usual causes. You entered a subdomain, and NS records sit on the main domain. Or the domain does not exist in public DNS, for example because it was never registered or its registration ended.
What an authoritative nameserver is
DNS has two kinds of servers, and the difference explains most of what this tool shows. A resolver is the server your device asks when it needs an address. It holds no records of its own, finds the answer by asking other servers and keeps a copy for a while. An authoritative nameserver is where the answer originates, because it holds the records of a domain as the owner entered them.
A resolver finds the authoritative nameservers by working down from the top. The servers for .com do not know the address of www.example.com, but they know which nameservers are in charge of example.com and say so. This handing over of responsibility is called delegation. The zone above your domain, called the parent zone, holds a copy of your NS records for exactly this purpose.
NS records therefore exist in two places. The registry for the top-level domain publishes one set, which you control through your registrar, and the nameservers of the domain publish another as part of the zone. Both sets should list the same servers.
When the name of a nameserver lies inside the domain it serves, such as ns1.example.com for example.com, a resolver would need the domain in order to find the domain. The parent zone solves this by also holding the address of that nameserver. These extra address records are called glue.
Registrar, DNS provider and web host
Three different services keep a website reachable. People often mix them up, because one company can sell all of them.
The practical question is where to log in. To change an A record or add a TXT record, you need the control panel of the DNS provider, which is the company behind the nameservers in this result. Editing records in the panel of a registrar or host that does not run the nameservers has no effect, even though many panels let you do it.
Working out who manages the DNS of a domain
Most nameserver names give the answer directly, because DNS companies put their own domain in them. Three patterns need a second look.
- The nameservers sit under the domain itself, such as
ns1.example.com for example.com. The owner may run its own servers, or a provider may offer branded names. Enter the hostname of the nameserver into IP Lookup to see which network operates its address. - Two different companies appear in one list. Some owners do this on purpose as a safeguard. It also happens by accident during a move, when the old nameservers were never removed. In that case the two companies may hold different records, and visitors get different answers depending on which server their resolver happens to ask.
- The names belong to the parking service of a registrar. A domain that was registered and never set up often points there, and so does one that has expired.
Changing nameservers and how long it takes
You change nameservers at the registrar, not at the old or the new DNS provider. The registrar passes the new names to the registry, and the registry updates the parent zone. That part is usually finished within minutes to a few hours.
Resolvers that already know the old nameservers keep using them until their stored copy runs out. Delegation records often have a long lifetime, up to two days for many top-level domains, and this is why providers tell you to allow 24 to 48 hours. During that window the old nameservers answer some visitors and the new ones answer others.
Both sets of servers have to give the same answers while the switch lasts.
- Copy every record to the new provider before you touch the nameservers. Mail records and TXT records are the ones people forget.
- Change the nameservers at the registrar.
- Leave the old zone in place for at least two days. Do not cancel the old DNS service on the same day.
- Run this lookup again later. When it shows only the new nameservers, the public resolvers have picked up the change. DNS Propagation with the record type set to NS shows four resolvers separately.
If the domain uses DNSSEC, ask both providers how to move it before you start. A leftover DNSSEC entry at the registrar that does not match the new provider makes the domain fail on every resolver that checks signatures.
What this tool does not show
The tool asks public resolvers run by Cloudflare, Google and Quad9 and uses the first answer. It does not question the registry and the nameservers of the domain separately, so it cannot show a mismatch between the two sets of NS records. For the registry side, run IP WHOIS on the domain and read its Nameservers row.
The result lists hostnames only. It does not show the addresses of the nameservers, does not test whether each one responds, and does not compare the records they hold. TTL values are missing as well, and DNSSEC is not validated.
The lookup runs on the IP Tracker server. Domains that exist only inside a private network cannot be resolved, and names ending in .local, .internal, .test or localhost are refused. The limit is 15 lookups a minute for each visitor. IP Tracker does not keep a record of the domains you check.
Frequently asked questions
What is the difference between a nameserver and a DNS resolver?
A nameserver, in the sense used here, holds the records of particular domains and gives the original answers. A resolver holds no records. It looks answers up on behalf of your device and remembers them for a while.
The NS records of a domain list its authoritative nameservers. The resolver you use is set by your internet provider or in your device settings and has nothing to do with any one domain.
Why does a domain need at least two nameservers?
So that the domain keeps working when one server is down or unreachable. If the only nameserver fails, the website, the email and everything else under the domain stop resolving once cached answers run out.
Most registries insist on at least two. DNS providers usually place them on separate networks, so that one network fault cannot take out both.
Why does www.example.com return no NS records?
NS records belong to the top of a zone, which for most sites is the main domain. A name inside the zone, such as www, is served by the same nameservers and has no NS records of its own.
The exception is a subdomain that has been delegated to other nameservers, for example shop.example.com run by a separate DNS provider. Such a subdomain does return NS records.
How long does a nameserver change take?
The registry usually has the new names within a few hours. Resolvers that stored the old delegation can keep using it for up to two days, depending on the top-level domain. Plan for 48 hours and keep the old DNS zone running during that time.
Is my registrar also my DNS provider?
Sometimes. Many registrars include DNS hosting and set their own nameservers by default. If the nameservers in this result carry the name of the registrar, it is both.
If they carry the name of another company, your records live with that company and the registrar only holds the registration.
I changed a DNS record and nothing happened. Could the nameservers be the reason?
Yes, and it is a frequent cause. If you edited the record at a company whose nameservers are not listed in this result, no resolver will ever ask that company. Find the provider named by the NS records and make the change there.
Can I use nameservers from two providers at once?
Yes, as long as both hold exactly the same records. Resolvers pick among all listed nameservers, so any difference between the two providers shows up as answers that change from one request to the next.
Keeping two providers in step takes extra work, which is why most small sites use one provider with several servers.
Where do I change the nameservers of my domain?
At the registrar, the company where you registered and renew the domain. Look for a setting called nameservers or DNS servers in the domain management area.
The new DNS provider tells you which names to enter. Type them exactly as given, and set up all records at the new provider before you save the change.