Glossary
NS record
Definition
NS record: A DNS record that names the name servers authoritative for a domain or subdomain. NS records at the parent zone delegate the domain to those servers, and the same records at the top of the domain's own zone confirm them.
Also known asname server recordnameserver recordNS
In short
An NS (name server) record lists the servers that are authoritative for a domain: the ones that hold its DNS records and answer questions about it. The parent zone, such as .com, publishes NS records that delegate your domain to those servers, and your own zone repeats them. Any record you add counts only if you add it at the DNS host your NS records name.
Key takeaways
- NS records delegate a domain to its authoritative name servers.
- Your registrar sets the NS records at the parent zone; your DNS host serves the zone itself. They can be different companies.
- RFC 1912 asks for at least two name servers and matching NS records at the parent and in your zone.
- Records added anywhere other than the DNS host your NS records name are ignored.
- Before switching name servers, copy every record to the new host, or mail stops arriving.
Last reviewed 5 December 2026 by Foxcolab Team
An NS (name server) record names the servers that are authoritative for a domain: the ones that hold its DNS records and answer every question about it. RFC 1035, section 3.3.11, defines its value as "a host which should be authoritative for the specified class and domain." Every other record you publish, from MX to TXT, lives on the servers your NS records point to.
How delegation works#
NS records appear in two places. The parent zone, such as .com, publishes NS records that hand your domain to its name servers. You set these through your registrar. Your own zone, run by your DNS host, repeats them at the top. RFC 1034 says NS records "are found at the top node of the zone" and "at cuts" where a zone hands part of itself to other servers. You can delegate a subdomain the same way.
RFC 1912 adds two rules of thumb: "You are required to have at least two nameservers for every domain," and "Make sure your parent domain has the same NS records for your zone as you do." When the parent points to a server that doesn't actually serve your zone, you get a lame delegation, and lookups fail or slow down.
Find your name servers#
dig +short NS example.com
ns1.dnshost.example.
ns2.dnshost.example.On Windows, use nslookup -type=NS example.com. The answer names the company where your DNS changes count. It isn't always the company you bought the domain from.
Mistakes that break things#
- Editing DNS in the wrong place. You add a record at your registrar while your NS records point to another DNS host. Nothing happens, because nobody asks the registrar.
- Switching name servers too early. Point your NS records at a new host before copying every record, and your MX, SPF and DKIM records vanish with the old zone. Mail stops arriving.
- Leaving an old delegation in place. A subdomain still delegated to a provider you left is an opening for a subdomain takeover.
In Foxcolab#
Foxcolab never asks you to change your name servers. When you connect a domain, the Domains tab lists five records, one MX and four TXT, to add at the DNS host your NS records name, and the card tells you to keep them there. If Check again keeps showing Not found yet, run the NS lookup above and make sure you edited DNS at that company. Domain not verifying? walks through the checks.
See plans for custom domains, or talk to sales about a larger rollout.
Keep exploring
Related terms
- DNS (Domain Name System)DNS is the internet's directory. It turns a name like example.com into the records computers need, from a website's address to the servers that accept a domain's mail.
- Domain registrarA domain registrar is the company you register and renew a domain name through. Here's how registrars, registries and DNS hosts fit together, and the mistakes that cost companies their email.
- SOA recordThe SOA record sits at the top of every DNS zone. It names the primary server and the admin, carries the serial number, and sets how long resolvers remember that a record doesn't exist.
- DNS propagationDNS propagation is the wait between changing a DNS record and everyone seeing the new value. Nothing is pushed out; caches expire. Here's what sets the delay and how to check a change.
- DNS hijackingDNS hijacking redirects a domain's traffic by changing its DNS records or name servers, usually after someone takes over the registrar or DNS host account. Here's how it works and how to lock your domain down.
- MX recordAn MX record is the DNS entry that names the servers accepting email for a domain and sets the order in which sending servers try them.
- Subdomain takeoverA subdomain takeover happens when your DNS still points to an outside service you've stopped using, and someone else claims it to serve content or receive mail on your domain.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.