Skip to content

Nameservers and NS records: who answers for your domain

Up to date as of 28 November 2026

A nameserver is a computer that answers questions about a domain. The records are the answers it gives. People use the two words loosely, but they're different things, and mixing them up causes real trouble.

The standard calls the server an authoritative one. It's "A server that knows the content of a DNS zone" and answers about it without asking anyone else.1

Nameserver or record?

Think of a library. The nameserver is the librarian at the desk. The records are the books in that library's catalogue. Change the books and visitors get new answers. Change the librarian and every question goes to a different desk.

That second change is much bigger. When you switch nameservers, you aren't editing one record. You're deciding which server's set of records the world reads. Anything you set up at the old place, such as A rows and mail rows, isn't carried over unless you copy it.

What an NS record is

An NS record names a nameserver. The original specification describes the type as "an authoritative name server".2 The terminology document says an authoritative server "is named in the NS" records of its zone.1

You'll see NS rows in two places:

  • Inside your zone, listing your own nameservers.
  • Up at the registry, in the parent zone. Delegation, the handing-over of a zone, "happens when an NS RRset is added in the parent zone for the child origin."1

The registry holds the parent zone. Many registrars have a nameserver setting on the domain's own page. Check there, not only in your DNS settings.

How the nameservers get chosenRegistrar passes on your nameserver namesParent zone lists them as NS recordsResolvers ask those nameserversNameservers answer from your zone
The NS rows decide which servers answer for the whole zone.

What you'll see

Your registrar's domain page may have a section called nameservers, listing a few names. Your DNS host gives you its names when you add your domain to its service.

If you use your registrar's default, you may see its names there. If you've moved DNS to another company, you'd expect that company's names instead.

A few habits help:

  • Before you switch, note down your current rows. Copy them into the new place first.
  • Use the names your DNS host gave you, exactly.
  • If you can't find nameservers in the list of records, look at the registrar's domain settings instead.

The alias rule

An NS record's value must be a name with an address of its own. The standard says the name used in an NS record "must not be an alias".3 So it can't be a CNAME. See CNAME records.

Nameservers are not the resolver on your device

Two more words get mixed up with this. Your phone or laptop doesn't ask your authoritative nameserver directly. It uses a stub resolver, and the terminology document says these "generally depend on a recursive resolver to" do the real work.1 Wikipedia says internet providers typically supply those resolvers to their customers.4

That difference matters when you wait for a change. Your nameserver may already show the new answer while a resolver somewhere still holds the old one. TTL and propagation explains why.

Notes and sources

  1. RFC 8499: DNS Terminology, IETF (RFC Editor)
  2. RFC 1035: Domain names, implementation and specification, IETF (RFC Editor)
  3. RFC 2181: Clarifications to the DNS specification, IETF (RFC Editor)
  4. Domain Name System, Wikipedia