Domain & DNS

What Is a Nameserver?

Published Ocak 18, 2025

Every domain must have at least two nameservers. These servers are the authoritative source of truth for all DNS records associated with your domain. Understanding nameservers is essential when setting up hosting, migrating websites or troubleshooting DNS issues.

Quick answer: A nameserver (NS record) is a DNS server that holds and answers queries about DNS records for your domain. When you change hosting, you typically update your domain's nameservers at your domain registrar.

How Nameservers Work

When a user's browser needs to resolve your domain, it eventually reaches your domain's authoritative nameservers — the servers designated as the ultimate authority for your domain's DNS records. These are specified in NS records at the domain registrar level.

Default vs Custom Nameservers

When you register a domain, it is assigned your registrar's default nameservers. When you sign up for web hosting, your host may ask you to switch to their nameservers (or use a custom DNS provider like Cloudflare).

  • Registrar nameservers — e.g. ns1.namecheap.com
  • Host nameservers — e.g. ns1.siteground.net
  • Cloudflare nameservers — e.g. ava.ns.cloudflare.com

Why You Need Two or More Nameservers

DNS requires at least two nameservers for redundancy. If one nameserver goes down, the other continues to answer queries. Most DNS providers offer at least two, often more.

How to Change Nameservers

  1. Log in to your domain registrar (where you bought the domain).
  2. Find the DNS or Nameserver settings for your domain.
  3. Replace the existing nameservers with the new ones provided by your host or DNS provider.
  4. Save the changes.
  5. Wait for DNS propagation — this can take up to 48 hours.

How to Check Nameservers

Use our DNS Lookup tool — select "NS" as the record type to see which nameservers are currently authoritative for a domain.

Common Mistake

Do not change nameservers and individual DNS records at the same time. Once you change nameservers, the new DNS provider controls all records. Changes made at the old provider are ignored.

Related Guides

DNS (Domain Name System) is the internet's phone book — it translates domain names into IP addresses so browsers can load websites.
DNS propagation is the time it takes for DNS changes to spread across all DNS servers worldwide — usually 24 to 48 hours.
An A record is a DNS record that maps a domain name to an IPv4 address, telling browsers which server to connect to.
A CNAME record creates an alias that points one domain name to another domain name instead of directly to an IP address.
An MX record specifies which mail servers are responsible for accepting email for a domain.