Foxcolab

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#

Shell
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

All terms

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.

Jump to