Article 02 of 42Domain guide

What Are Nameservers? How to Find and Change Them (Step by Step)

Nameservers explained: what they do, how to find a domain's nameservers, and how to change them safely.

7 min read42 articles in the journal

You sign up for a new web host or a content delivery network, and the onboarding tutorial immediately presents a confident instruction: "Log into your registrar and update your nameservers to ns1.examplehost.com and ns2.examplehost.com." The documentation treats this step as if every site owner already knows what it means. Yet for most beginners, no one ever explains what nameservers actually are, what happens when you alter them, or why entering the wrong characters can instantly knock your website and company email offline.

Nameservers are the administrative gatekeepers of your domain. They determine which company controls your DNS records and where internet traffic should flow. In this guide, we break down what nameservers do in plain English, how to find your current nameservers in seconds, and how to change them safely without causing unexpected downtime.

What nameservers are: definition and analogy

A nameserver is a specialized server in the Domain Name System that stores, organizes, and publishes the authoritative DNS records for a domain name, translating human-friendly website names into machine-readable IP addresses.

To visualize how nameservers work, think of your domain name as a prominent business address on a city street, and your individual DNS records (such as A, MX, and TXT) as the employee directory and department extensions inside the office.

The nameserver is the building reception desk. When visitors or mail couriers arrive at your address, they ask the receptionist who sits in each department. The receptionist checks their binder and directs the visitor to the correct office room. If you change your nameservers, you are effectively firing the old reception team and moving all administrative authority to an entirely new building with a new staff directory.

Nameservers versus DNS records: who holds what?

Beginners frequently confuse nameservers with individual DNS records because both are configured inside account control panels. Here is the fundamental distinction:

Nameservers (The Servers)

Nameservers are the physical and virtual machines answering public DNS queries. They have hostnames such as ns1.digitalocean.com or ns1.cloudflare.com. They run the specialized software that stores and serves your entire zone file.

DNS Records (The Data)

DNS records are the individual data instructions inside the zone file. They include your A record pointing to a web host IP, your MX records routing company email, and your TXT records proving domain ownership.

In simple terms: nameservers hold the records. When you update nameservers at your domain registrar, you are not tweaking a single record. You are instructing the global root and registry infrastructure to stop querying your previous provider and send all future inquiries to your new nameserver provider.

How to find a domain's nameservers with a lookup

Before you make any changes to your domain configuration, you should always identify which nameservers currently manage your zone. You do not have to guess or search through old confirmation emails. You can discover this information publicly in seconds.

Using DomainRecon's free WHOIS Lookup Tool or our DNS Lookup Tool, enter any domain name to run a scan:

  • The WHOIS report displays the nameservers registered at the Top-Level Domain registry level, showing the authoritative servers delegated by your registrar.
  • The DNS report queries the NS records directly from authoritative servers, confirming that those nameservers are currently responsive and serving active zone data.

Running this quick check immediately reveals whether a domain is operating on default registrar nameservers, web host nameservers, or a third-party cloud DNS network.

When would you need to change nameservers?

You do not need to change nameservers for everyday website updates. In fact, leaving your nameservers untouched is safest unless you have a specific architectural reason. You will generally only change them in three standard scenarios:

1. Moving to a new web hosting provider

Many traditional and managed web hosting companies ask you to use their nameservers. This allows the host to automatically manage server IP changes, configure SSL certificates, and set up subdomains directly from their hosting dashboard.

2. Connecting a Content Delivery Network (CDN) or DDoS shield

Services like Cloudflare require full DNS delegation. By pointing your nameservers to their network, all web traffic passes through their global reverse proxy, providing web application firewall protection, page caching, and bot filtering.

3. Upgrading to an enterprise DNS provider

Fast-growing brands often migrate from basic registrar DNS to specialized providers like Amazon Route 53 or DNS Made Easy for millisecond query speeds, latency-based routing, and automated failover capabilities.

How to change nameservers step by step

Changing nameservers is always executed at the domain registrar where you purchased your domain name, never in your web design software or hosting file manager. Follow this standard process:

  1. Obtain your new nameserver addresses: Your new host or DNS provider will supply two to four nameserver hostnames. They typically look like ns1.newhost.com and ns2.newhost.com. Copy these strings carefully.
  2. Log into your domain registrar dashboard: Sign into the account where you pay for your annual domain registration fee (such as Namecheap, GoDaddy, Squarespace, or Porkbun).
  3. Open your domain management panel: Find your domain name in your account list and navigate to Domain Details, DNS Settings, or Nameserver Management.
  4. Switch to custom nameservers: Registrars usually default to their proprietary nameservers. Look for a toggle or dropdown option labeled "Custom Nameservers" or "Use My Own Nameservers".
  5. Enter the new nameserver hostnames: Paste your new nameservers into the input lines (Nameserver 1, Nameserver 2, and so forth). Always provide at least two distinct nameservers to ensure fault tolerance. Leave any unused lines blank.
  6. Save your configuration: Click Save, Update, or Submit. Some registrars will require a two-factor authentication prompt or an email confirmation link to prevent unauthorized domain hijacking.

What to check before you switch: preventing downtime

The single biggest risk when updating nameservers is silent service disruption. When you change nameservers, you cut ties with the DNS records hosted at your old provider. If your new nameserver provider does not already have duplicate records configured, your email and subdomains will immediately fail.

Complete this pre-flight checklist before clicking Save:

  • Export your existing DNS zone: Take a screenshot or export a copy of all current A, AAAA, CNAME, MX, and TXT records at your current DNS provider.
  • Replicate email records first: Recreate your MX records, SPF text strings, and DKIM verification keys inside the new nameserver control panel before switching. Otherwise, incoming emails will bounce during the transition.
  • Check active subdomains: Make sure specialized subdomains like shop.yourdomain.com or app.yourdomain.com are copied over to the new zone file.
  • Schedule during off-peak hours: Execute nameserver updates late in the evening or over a weekend when visitor volume is at its lowest.

After the change: verifying and waiting

Once you save new nameservers, the update must propagate across millions of recursive resolvers and caching routers worldwide. As explained in our breakdown of domain versus hosting with real-world scenarios, DNS changes do not take place everywhere at once.

Internet service providers and cellular carriers refresh their DNS caches at different intervals based on their local Time to Live (TTL) settings. While visitors in one country might reach your new servers within thirty minutes, users in another region might continue loading the old provider for several hours.

Do not panic if you see inconsistent results during the first few hours. Allow up to 24 to 48 hours for global propagation to finish completely before declaring a configuration issue.

Troubleshooting: common nameserver issues

If your website remains broken or your new nameservers fail to appear after 24 hours, check these three common stumbling blocks:

Domain transfer lock or security hold

Some registrars prevent nameserver updates if a domain has unverified contact information, outstanding renewal invoices, or an active registry lock feature enabled. Check your registrar notifications for required verification steps.

Typographical errors in server hostnames

A single misplaced letter or accidental space in a hostname like ns1.cloudflare.com causes the entire resolution chain to fail, leaving your domain completely unreachable.

Stale local computer cache

Your device or local Wi-Fi router often saves outdated DNS answers long after the rest of the world has switched over. Test your website using a cellular connection or flush your operating system DNS cache to view the live state.

Frequently asked questions & conclusion

How many nameservers should my domain have?

Every domain should maintain at least two nameservers operated on distinct network clusters. This redundancy ensures that if one server suffers an outage, the secondary nameserver answers incoming requests without interruption.

Does changing nameservers transfer my domain registration?

No. Changing nameservers only delegates DNS routing authority. Your annual registration fees, domain ownership rights, and billing remain with your original registrar.

Is changing nameservers free?

Yes. Modifying nameserver assignments is a standard domain management capability provided for free by all ICANN-accredited registrars.

Nameservers are the foundation of domain delegation. By telling the world which company manages your DNS records, they connect your memorable web address to your underlying hosting infrastructure. By checking your existing records before you switch, copying over vital email configurations, and allowing adequate time for global propagation, you can migrate to any new host or cloud platform with complete confidence.

Put this guide to work

Check a domain before you commit.

Free availability, WHOIS, DNS, SSL, subdomain, and email checks in one place.

Check availability