What DNS is, in plain terms, and why it breaks websites

DNS turns your domain into the address of your website and email. Six records do most of the work, and one wrong record takes a business offline.

3 minread 736words last updated

The short answer

When someone types your domain into a browser or sends you an email, their device has to find out where to go. DNS, the domain name system, is the address book that answers that question. For your domain it is a small table of records, kept at your registrar or a DNS provider, that says: the website is here, the email goes there, and here is proof that this domain is really ours.

It is one of the least visible parts of your setup and one of the most common reasons a business is suddenly offline.

Diagram: a visitor types a domain, the browser asks a resolver, the resolver reads the DNS records for that domain. A table shows the record types A, CNAME, MX, TXT and NS, what each points to, and what breaks when it is wrong.
DNS is a small table. Each row points a name somewhere, and each wrong row breaks something specific.

The six records that matter

RecordWhat it doesWhat breaks if it is wrong
A and AAAAPoint the domain at the address of the server or platform serving the websiteWebsite offline
CNAMEPoint one name at another, typically www at the hosting platformThe www version offline, or the whole site if misused
MXName the servers that receive email for the domainEmail stops arriving
TXTHold text values: SPF, DKIM and DMARC for email, and ownership checks for Google and other servicesEmail lands in spam; services cannot be verified
NSSay which provider answers DNS questions for the domain at allEverything offline
CAASay which certificate authorities may issue certificates for the domainCertificate renewal fails, site shows warnings

Why DNS breaks websites

Three patterns account for the DNS incidents that take a website or its mail offline:

  • Migration without a checklist. A new website goes live, DNS moves to a new provider, the website records are set, and the MX and TXT records are forgotten. Website up, email gone.
  • The domain transfer. The domain moves to a new registrar and the DNS records do not come with it, or the new registrar’s default records take over. Everything points nowhere.
  • Nobody knows the login. Records need a change, the account was created years ago by someone who left, and the recovery email is a mailbox that no longer exists.

How to keep it boring

  1. One account, in your name. DNS lives at one provider, in an account owned by your company, with two-factor authentication and a documented recovery address.
  2. Export the records. A copy of the full record table, stored with your documentation, refreshed whenever something changes.
  3. A migration checklist. Before any move: lower TTLs, list every record, especially MX and TXT, and verify each one after the move from an outside network.
  4. Email records complete. MX for receiving; SPF, DKIM and DMARC as TXT so your email is trusted. Details in the email spoofing article.
  5. CAA set. So only your certificate provider can issue certificates for your domain.

What this means for you

You do not need to edit DNS yourself. You need to know it exists, which account holds it, who is allowed to change it, and that a copy of the records is in your documentation. With those four things in place, DNS goes back to being invisible, which is exactly what it should be.

Written by the CivSec S.M.A.R.T team

We build and run websites, software and AI systems for businesses. We write about what we see in that work, in plain language, and we update articles when things change.

Last checked . Spotted something outdated? Tell us.

Frequently asked questions

Is DNS the same as my domain?

No. The domain is the name you rent. DNS is the set of records that say what the name points to. You can move DNS to another provider without moving the domain, and moving the domain without copying the DNS records correctly is how email disappears for two days.

Why did our email stop after the new website went live?

Almost certainly the MX or TXT records were not copied when DNS moved to the new provider, or were overwritten. The website records were set because that was the project; the email records were forgotten because they belonged to nobody. A migration checklist prevents it.

How long do DNS changes take?

Anywhere from minutes to a day or two, depending on how long the old value was allowed to be cached. This is why a change that looks fine from your office can still be broken for a customer elsewhere, and why you lower the cache time before a planned migration.

Who should manage our DNS?

Your web partner or IT, inside an account that is in your company's name. DNS is critical and rarely touched, which is exactly the combination that leads to nobody knowing the login. One documented owner, one account, two-factor authentication.

Sources

  1. Cloudflare Learning Center: What is DNS? (accessed 2026-09-11)
  2. Cloudflare Learning Center: DNS records (accessed 2026-09-11)