Join our Newsletter — 33% off our NHI Course

Name Server (NS) Record

An NS record is a DNS record that names the authoritative name servers for a domain or zone. Resolvers use it to find which servers answer queries for that zone, so incorrect NS records can send lookups to the wrong authority or make a domain unreachable.

What an NS record does in DNS

An ns record is the delegation pointer inside DNS. It tells resolvers which authoritative name server are responsible for a domain or zone, so the record effectively defines where truth for that zone is expected to live.

Because NS records sit at the delegation boundary, they shape how queries enter the authoritative path. If the record points to the wrong servers, resolvers may ask an authority that does not host the zone, which can break resolution even when the rest of DNS data is intact.

Why NS records matter for zone authority and delegation

NS records are not just directory entries, they are the mechanism that tells the DNS hierarchy who speaks for a zone. That means they govern authority, not content, and the distinction matters when teams move domains between providers, split zones, or introduce subdelegations.

The practical consequence is that an NS change can redirect traffic without changing any web or mail records directly. A zone can appear healthy in one management console while resolvers are still following stale delegation data elsewhere, so the operational view and the global view can differ.

For deeper DNS defensive context, see the DNS Security Guide, which covers authoritative DNS, logging, DNSSEC, and common delegation failure modes.

How NS record errors happen

NS problems usually come from delegation mistakes rather than from the record type itself. Common causes include mismatched nameserver sets between parent and child zones, incomplete zone moves, expired provider changes, and orphaned delegation after a service or domain is decommissioned.

Another failure mode is stale caching. Resolvers and intermediate systems can continue to follow prior delegation data for a period of time, so a corrected NS update may not take effect everywhere at once. That creates a window where different users can reach different authorities, or no authority at all.

Where the bad delegation points to an attacker-controlled or unclaimed nameserver, the issue can become an exposure problem rather than a simple outage. The Subdomain Takeover and Dangling DNS Guide explains how stale DNS ownership and namespace drift can turn abandoned records into takeover opportunities.

Operational consequences and safe handling

The immediate symptom of an NS issue is often reachability failure, but the downstream impact can be broader. Web, email, SSO, and API endpoints can all become unavailable if resolvers are sent to the wrong authority or to a zone that no longer publishes the current records.

When changing NS records, the safe practice is to validate the parent and child zones together, confirm the intended authoritative servers actually host the full zone set, and check that the old and new providers agree during cutover. DNS changes should also be reviewed alongside registrar state, because registrar-level mistakes can undo a correct zone configuration.

For incident-style recovery and ownership transfer scenarios, the Domain Registrar Compromise Playbook is useful when delegation issues are part of a broader domain-control problem.

Risk and Threat Considerations

Incorrect NS records can create both availability risk and trust risk. A broken delegation can make a domain unreachable, while a hijacked or misdirected delegation can route resolvers toward an authority the organisation does not control.

Failure mechanism: The parent zone, child zone, or registrar state no longer agrees on which nameservers are authoritative, so resolvers either fail to find usable answers or accept answers from the wrong source.

Impact: Users may see intermittent or total outage, email and authentication flows may fail, and an attacker who controls the delegated authority can serve false DNS data, enabling traffic redirection, phishing support, or persistence through namespace confusion.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST SP 800-53 Rev 5 and OWASP ASVS set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

Framework Control / Reference Relevance
CIS Controls v8 CIS-12 — Network Infrastructure Management NS records govern DNS infrastructure delegation and authoritative routing.
Recommendation — Review and validate DNS delegation changes as managed infrastructure modifications.
NIST SP 800-53 Rev 5 SC-20 — Secure Name/Address Resolution Service (Authoritative Source) NS records define authoritative DNS sources and resolution trust boundaries.
CM-8 — System Component Inventory Safe NS management depends on knowing which authoritative servers and zones exist.
Recommendation — Ensure authoritative DNS data is served from approved name servers and monitored for delegation drift. Maintain an accurate inventory of authoritative DNS components and their ownership.
ISO/IEC 27001:2022 A.8.9 — Configuration management NS records are configuration items whose changes can break availability or trust.
Recommendation — Control and review DNS configuration changes before publishing delegation updates.
OWASP ASVS V12 — V12 Cryptography DNSSEC and authoritative DNS integrity are closely tied to secure DNS resolution.
Recommendation — Verify DNS integrity protections when delegation changes affect resolution trust.

Practitioner Guidance

What to watch for: Treat NS changes as control-plane changes, not routine content edits. They deserve the same validation discipline as registrar updates because a small delegation mistake can affect the entire zone.

Governance implication: Keep an authoritative inventory of which domains and subzones are delegated, who owns each delegation, and which provider is expected to answer for them. That inventory makes it much easier to spot stale or orphaned NS entries before they become outages or takeover paths.

Practitioner takeaway: The safest NS record is the one that is continuously reconciled against both registry state and actual authoritative servers, not just against the DNS editor where the change was made.