Help

DNS NS Records Explained

NS (Name Server) records are a critical component of the Domain Name System (DNS), as they designate the authoritative name servers for a domain.

What is an NS record?

An NS record, short for Name Server record, specifies the name servers that hold the authoritative DNS information for a domain. These servers store records like A records (for IP addresses), MX records (for mail servers), and more. Every domain requires at least one NS record, though having multiple is standard practice to ensure redundancy and fault tolerance.

In essence, NS records act as signposts in the DNS system, directing queries to the servers that can provide accurate answers about a domain. Without them, the internet wouldn’t know where to look for a domain’s DNS data.

How do NS records work?

When a DNS resolver (like your browser or ISP) needs to resolve a domain name, it begins by contacting the root name servers. These servers respond with NS records for the top-level domain (TLD), such as .com or .net. The resolver then queries the TLD’s name servers, which provide the NS records for the requested domain. This chain continues until the resolver reaches the domain’s authoritative name server, which delivers the final DNS data.

NS records also enable delegation, allowing different name servers to manage subdomains. For instance, a domain could use NS records to assign shop.example.com to a separate set of name servers, providing flexibility in DNS management.

Configuring NS records is typically done via your domain registrar or DNS provider’s control panel. You’ll enter the hostnames of your name servers (e.g., ns1.example.com, ns2.example.com). It’s recommended to set at least two NS records for reliability—if one server goes down, the other can still handle queries, keeping your domain accessible.

Ready to get started?
Start your free trial today.

Sign up for our newsletter

Get occasional updates about new features, integrations, and future plans to your inbox.

We will send a confirmation opt-in email to your inbox. Privacy Policy.