Site icon Hostreta

Nameservers vs DNS Records: What’s the Difference?

You’ve been told to “update your DNS.” But your registrar offers two options: change the nameservers, or edit the DNS records. Pick the wrong one and your site — or worse, your email — can go offline. The two are closely related but do very different jobs.

This guide explains nameservers vs DNS records in plain words, when to change each, and the mistakes that break sites.

The DNS chain in plain words

When someone visits yourdomain.com, a lookup happens in steps:

  1. The visitor’s resolver asks the registry for your domain (for example, the .com registry): “Who is responsible for this domain?”
  2. The registry answers with your nameservers, such as ns1.provider.com.
  3. The resolver asks those nameservers: “What’s the IP address for this domain?”
  4. The nameservers answer using your DNS records, such as an A record pointing to your server.

Think of nameservers as the phone book you’re sent to, and DNS records as the entries inside that phone book.

What nameservers do

Nameservers decide which company answers DNS questions for your domain. You set them at your registrar. Common choices:

Only one set of nameservers is active at a time. Whoever owns those nameservers is where your DNS records must live. For help choosing, see Cloudflare DNS vs Registrar DNS: Which Should You Use?.

What DNS records do

DNS records are the actual answers: where the website lives (A, AAAA), aliases (CNAME), where email goes (MX), and verification and email security (TXT). You edit them inside the DNS zone at whichever provider your nameservers point to.

Here’s the key point: editing records at a provider that isn’t your active nameserver does nothing. The world never asks that provider. A full breakdown of each type is in DNS Record Types Explained: A, AAAA, CNAME, MX and TXT.

When to change nameservers vs records

Change DNS records when:

Change nameservers when:

Pointing a domain to hosting for the first time? Follow How to Point a Domain to Your Hosting.

Common mistakes that break sites

Key takeaways

Exit mobile version