Get started

Domains & Hosting

DNS and Nameservers Explained

What DNS does, the record types that matter for websites and email, and why changes take time to spread.

On this page

Quick answer: DNS is the internet's address book. Nameservers say who holds your domain's records; the records then say where your website is (A or CNAME) and where your email goes (MX), plus TXT records that prove ownership and protect email.

Nameservers

Your domain points to a set of nameservers, usually your host's. Whoever runs those nameservers controls all your DNS records. Changing nameservers moves control of every record at once, which is why it must be done carefully.

The records that matter

RecordWhat it doesExample use
APoints a name to an IPv4 server addressYour website
AAAAPoints a name to an IPv6 addressYour website on IPv6
CNAMEPoints one name to another namewww pointing to your main domain
MXSays which servers receive your emailYour mail host
TXTHolds text, used for verification and email securitySPF, DKIM, DMARC, Google verification

Email security records

  • SPF lists which servers may send email for your domain.
  • DKIM adds a digital signature to outgoing mail, published as a DNS key.
  • DMARC tells receiving servers what to do with mail that fails SPF or DKIM, and where to send reports.

Together they stop others pretending to be you and help your email reach inboxes instead of spam.

Why changes take time

DNS answers are cached around the world for a period set by each record's TTL (time to live). After a change, some people see the new record within minutes and others only after the old cache expires, commonly a few hours and occasionally up to 48 hours. Lowering the TTL a day before a planned change speeds things up.

Tip: Before changing anything, export or screenshot your current DNS records. It is the quickest way to undo a mistake.

Still stuck?

Ask us. No sales pitch, just a straight answer.