Nameserver
A nameserver is a DNS server responsible for answering queries about domain names.
For website administration, the term usually refers to the authoritative nameservers that hold the definitive DNS records for a domain.
Cloudflare describes authoritative nameservers as the servers that provide the final DNS answers for domains delegated to them. Cloudflare's nameserver documentation
What It Means in Practice
A domain registrar might show nameservers such as:
ns1.example-dns.com
ns2.example-dns.comThose values tell the DNS hierarchy:
Ask these servers for the DNS records belonging to this domain.
The records themselves then determine where the website, email, and other services go.
Nameserver vs. DNS Record
The Nameserver points to the provider responsible for answering DNS queries.
The DNS records describe the actual services.
For example:
Nameservers
↓
Cloudflare DNS
↓
A record → web server
MX record → email provider
TXT record → verificationChanging the nameservers can therefore move responsibility for the entire DNS Zone.
Registrar vs. Nameserver
The Domain Registrar stores the delegation telling the internet which nameservers are authoritative.
The registrar does not necessarily host those nameservers.
For example:
Registrar: Provider A Nameservers: Provider B Hosting: Provider C.
Why It Matters
Changing nameservers is a much larger action than changing one DNS record.
If the new DNS provider does not contain all necessary records, services may stop working.
Cloudflare specifically recommends reviewing and adding required DNS records before changing authoritative nameservers. Cloudflare's nameserver setup guidance
Common Problems
Common problems include:
- Changing nameservers before copying email records
- Old nameservers left at the registrar
- Typos in nameserver values
- DNSSEC still tied to the previous provider
- Registrar and DNS provider confused
- Nameserver change performed to fix a problem that only required one DNS record
How to Improve
Before changing nameservers:
- Export the existing DNS Zone
- Identify every active record
- Recreate the required records at the new provider
- Review DNSSEC
- Verify email configuration
- Then update the registrar delegation