NS Record
Identifies the authoritative nameservers for a domain. These records define the delegation chain that makes the distributed DNS system work.
Nameserver Delegation
NS records specify which nameservers are authoritative for a zone. There are two places NS records exist: in the parent zone (the TLD nameservers hold NS records for every domain they delegate) and in the zone itself (the authoritative nameservers hold their own NS records).
When you register a domain and configure nameservers at your registrar, the registrar notifies the TLD registry to publish NS records pointing to your nameservers in the parent zone. These are the delegation NS records. Your zone should publish matching NS records — a mismatch between parent and child NS records is called a lame delegation.
- At minimum two NS records are required for redundancy (RFC 1035 recommendation)
- NS records must point to hostnames, not IP addresses or CNAMEs
- Parent zone NS records and your zone's own NS records should match exactly
- Glue records are required when NS records point to subdomains of the zone being delegated
- NS TTL is typically 86400s (24h) — these change rarely and long caching reduces root/TLD load
- Changing NS records requires updating both your registrar AND your zone file
When NS Records Need Glue
A glue record is an A or AAAA record provided in the additional section of a DNS referral response, when the nameserver hostname is within the zone being delegated. Without glue, there would be a circular dependency: to find example.com, you need to ask ns1.example.com — but to find ns1.example.com, you need example.com to be resolved first.
Glue records are registered at the parent registry when you use in-bailiwick nameservers (nameservers within your own domain). They are stored by the TLD registry and returned automatically during the referral step of DNS resolution.
Querying NS Records
Check zone NS records
Detect lame delegations
Check for glue records
Verify NS consistency
Related Topics
Every zone that has NS records also requires an SOA record defining the primary nameserver and zone parameters.
Authoritative NameserverThe servers NS records point to — they hold the actual zone data and answer queries authoritatively.
Recursive ResolverResolvers follow NS records down the DNS hierarchy to find the authoritative answer.