Three roles, often three different companies
NS Records Explained: How DNS Nameservers Work
An NS record identifies a nameserver associated with a DNS zone. The domain's delegation tells recursive resolvers where to ask for authoritative answers, while NS data inside the zone also describes the servers responsible for that zone. NS records do not contain the website's IP address; they point the DNS resolution process toward the servers that can provide records such as A, AAAA, MX, and TXT. Understanding this distinction is useful when a record change made in a dashboard does not appear publicly. The domain may be delegated to a different DNS provider than the one whose settings were edited.
Delegation starts at the parent zone
DNS authority is delegated down the hierarchy. A registry's top-level-domain servers hold information that directs resolvers to a domain's authoritative nameservers. That delegation is generally configured through the registrar or the domain registry interface, while the records inside the domain's zone are managed by the DNS provider. These two control panels serve different roles. Changing an A record at one provider does not change the delegation at the parent; changing nameservers at the registrar can make the old provider's zone irrelevant. A safe migration requires knowing which control plane changes the delegation and which one edits the zone content.
- A recursive resolver asks the parent zone where the domain is delegated.
- The parent returns the domain's nameserver set and any required glue data.
- The resolver queries an authoritative nameserver for the requested record.
- The answer is returned and may be cached according to its TTL.
Nameserver hostnames can themselves require address records so resolvers can reach them. When a nameserver is inside the domain it serves, parent-zone glue may be required to break a circular dependency. DNS providers usually handle this detail, but it is important during a custom nameserver setup. A typo in a nameserver hostname, missing glue, or incomplete delegation can prevent resolvers from reaching the zone even if the provider's dashboard shows perfectly configured A records. This is why testing only from inside a provider's own control panel can give a false sense of success.
How to use an NS lookup
Query NS data for the domain and compare the returned names with the provider you expect to serve the zone. If they do not match, verify the registrar's delegation settings and check whether a recent migration is still in progress. Querying each authoritative server for a sample record can reveal whether the zone data is consistent. SOA data can provide additional zone-level context, but neither NS nor SOA proves that the website itself is reachable. An NS query establishes where authority is expected to live; application health requires a separate connection test.
| Observation | Possible next check |
|---|---|
| Unexpected NS names | Registrar delegation and DNS-provider account |
| Expected NS but missing A answer | Zone record, queried name, and type |
| Authoritative servers disagree | Provider synchronization and SOA/version state |
| Old answer only from recursive resolver | TTL and cache timing |
When moving nameservers, prepare the new zone before changing delegation. Copy all records, including email and verification records, and compare them on the new authoritative servers. Keep the previous service available during the transition where appropriate, and verify the new delegation from outside the provider account. If mail or a subdomain is omitted, the website's A record can look correct while other services quietly fail. A repeatable checklist and saved record export reduce that risk considerably.
For additional context, see what a nameserver does, recursive versus authoritative resolvers, and the general DNS record reference. Use NS records to answer the authority question first, then inspect the individual record types needed by your service. This clear separation makes it much easier to locate whether the issue lies with delegation, zone content, caching, or the application that eventually receives the connection.
Nameserver answers need a delegation context
An NS lookup is most useful when you understand whether it shows the parent delegation, the zone's own NS set, or a recursive resolver's cached view. Those views are related but can be displayed in different sections of a diagnostic. During a nameserver migration, compare the registrar or parent-zone delegation with the NS records served by the child zone. They should be coordinated according to the provider's instructions. An old server may still answer for a time, but leaving it active should not be confused with the new delegation being complete. If you operate custom authoritative servers, check reachability and glue where required. For provider-managed zones, keep the assigned nameserver list and verify it after any registrar transfer or account move.
Need to check a domain's public DNS addresses? Use the Domain IP Lookup tool.
Free tools for this topic
Related reading
The records you will meet in nearly every zone
DNS Zone Files Explained: Records, Format and Examples
Learn how DNS zone files organize records, owner names, TTLs, and record data, with a safe checklist for reviewing or migrating a zone.
Two addressing schemes, running side by side
IPv4
192.0.2.10
32 bits -- ~4.3 billion addresses -- exhausted
IPv6
2606:4700::6810:84e5
128 bits -- 340 undecillion addresses
Static vs. Dynamic IP Addresses: Key Differences
Compare static and dynamic IP addresses, learn where each is used, and understand why domain DNS records should not be confused with a fixed address.
Three reasons the same domain answers differently
Geo-routing
A different edge server per region
Caching
Independent TTLs, independent caches
Split-horizon
A different answer, by design
IP Geolocation Explained: What an IP Address Can Reveal
Learn how IP geolocation estimates network location, why results can differ from a user's physical location, and what a DNS lookup can actually tell you.