Why DNS Mistakes Break Sites That Look Fine to You
· 7 min read
DNS mistakes like dangling CNAMEs, single nameservers, and www-versus-apex gaps quietly break sites for some visitors while working fine for you.
In short
DNS mistakes break a website for some visitors while it keeps working for
you, because your browser caches old answers you no longer see. The usual
culprits are a missing www-or-apex record, a single nameserver, a dangling
CNAME pointing at a service you no longer own, and a TTL set so high a fix
takes days to reach everyone. SiteHealth checks these DNS records from
outside your network on a schedule, so the gap shows up as an alert instead
of a lost customer.
What is DNS, in plain terms?
DNS, the Domain Name System, is the directory that turns a name like
yoursite.com into the numeric address a browser needs to find your server.
Every domain has a set of records, each controlling one specific piece:
- A / AAAA record — points a domain or subdomain straight at a server's
- numeric address; this is what makes the site itself load.
- CNAME record — points a subdomain at another name instead of a raw
- address, commonly used for
wwwor a third-party service. - MX record — tells the internet which mail servers accept email for
- the domain.
- NS record — names which nameservers are allowed to answer DNS
- questions for the domain at all.
- TTL — the number of seconds any of the above may be cached before a
- server has to ask again.
A mistake in any one of these records affects only the piece it controls,
which is exactly why DNS problems are so easy to miss: the rest of the
domain keeps working and nobody notices the one broken piece until a
visitor hits it.
Why does my site work for me but not for a customer?
Your browser and phone cache DNS answers for as long as the record's TTL
says to, so you keep seeing the old, working answer long after you changed
something. A customer on a different network, a different device, or simply
a machine that has not visited your site recently asks the DNS servers
fresh and gets whatever is actually configured right now. This is why "it
works when I check it" is not proof anything is fixed. The two of you are
reading from different caches of the same record.
Why does my site load with www but not without it, or the other way around?
This is the address-variants problem: yoursite.com, www.yoursite.com,
http://, and https:// are four different addresses to a browser, and
each one needs its own working record and a redirect to the version you
actually want people to land on. A site that only configured the www
subdomain will fail for anyone who types the bare domain, and vice versa.
Social media profiles, old backlinks, and business cards often use whichever
version someone typed once, so both need to resolve and both need to
redirect to one canonical address.
What is a dangling CNAME, and why does it matter?
A CNAME record points a subdomain, like app.yoursite.com, at another
service's address instead of a raw IP. A dangling CNAME is one left behind
after you stop using that service, canceled an account, deleted a hosting
app, moved off a platform, while the DNS record still points at it. Anyone
who can register that same service name elsewhere can then claim your
subdomain and serve their own content from it, under your domain, which is
a real subdomain-takeover risk, not a theoretical one. The fix is simple
once you know to look: delete the CNAME the same day you stop using the
service it points to, not "eventually."
How do I check my own DNS for these mistakes?
- List every DNS record your domain currently has, using your registrar's
- or DNS host's control panel, not memory of what you set up once.
- For each CNAME, confirm the service it points to is still active and
- still yours; delete any that point to something canceled or deleted.
- Confirm both the apex domain and the www subdomain have working records,
- and that one redirects to the other.
- Confirm the domain has at least two nameservers listed, from your
- registrar's standard pair, not one.
- Check the MX records against what your mail provider currently tells you
- to use, since a past migration can leave an old provider's MX records
- active alongside the new ones.
- Query each record from a tool outside your own network and compare the
- answer to what your control panel shows, rather than trusting a browser
- reload.
Doing this by hand once catches what is broken today. Catching a record
that silently drifts three months from now, after a migration or a canceled
service you forgot about, is a different job, and it is the reason DNS
checks belong on a recurring schedule rather than a one-time audit.
SiteHealth's checks run that DNS review automatically, on the
same hourly schedule as its SSL, email, and payment-page checks, and it
sends a plain-English alert the moment a record stops matching what it
expects.
What does a low or high TTL actually control?
TTL, time-to-live, is a number in seconds attached to each individual DNS
record, telling other servers how long they may cache that answer before
asking again. A record with a 300-second TTL is nearly fully updated within
five minutes of a change; a record left at the common default of 86,400
seconds, 24 hours, will keep serving the old answer to some fraction of
visitors for a full day. "DNS takes 24 to 48 hours to propagate" is a myth
stated as if it were a universal internet rule; in reality it is just
whatever TTL you left on the record, and lowering it to 300 seconds a day
before a planned change is the standard way to make the actual cutover fast.
Why does having only one nameserver matter?
Nameservers are the machines that actually answer DNS questions for your
domain, and the NS records at your registrar list which ones are allowed to
answer. Most registrars hand you two by default, but it is possible to end
up with only one live, usually after a migration where the old provider's
second nameserver was removed and never replaced. With one nameserver, an
outage at that single provider means your domain stops resolving anywhere
on the internet, not just slows down, so the site, the mail, and any
checkout page tied to the domain all go dark at the same moment, for as
long as that one provider is down. Two independent nameservers mean one can
fail while the other keeps answering, which is the entire reason the
standard has always been a pair, not a single record.
What if my agency or freelancer built the site, not me?
If someone else set up your DNS, "I don't know who has the login" is the
single most common reason a dangling CNAME or a single nameserver survives
for years, because nobody who currently touches the site has ever looked at
the DNS records at all. That is a real gap, not a reason to skip the
check: your registrar account, whoever holds it, always has read access to
the current records even if nobody remembers configuring them. Agencies
running DNS across multiple client domains run into this
constantly, because ownership of the DNS panel tends to sit with whoever
registered the domain years ago, not whoever currently maintains the site.
What should I check right now?
Start with the free checker at SiteHealth and run it against your own
domain; it needs no account and will flag an address-variant mismatch,
missing records, or an unreachable nameserver in under a minute. If you want
DNS checked on a schedule instead of once, alongside the SSL, email, and
exposed-file checks covered in what to check before pointing a domain at an
AI-built site and why an
SSL certificate expires without warning,
sign up and add the domain; the first hourly check runs
automatically.
Questions people ask about this
What is a dangling CNAME record?
A dangling CNAME is a subdomain record that still points to a service you no longer own or use, such as a deleted hosting app or an expired third-party account. Anyone who can claim that same service name can take over your subdomain. It is dangerous because the DNS record looks fine; nothing errors until someone exploits it.
Why does my site load with www but not without it, or the other way around?
Your domain needs a working record for both the apex (yourdomain.com) and the www subdomain, plus a redirect so visitors land on one canonical version. If only one is configured, or the redirect is missing, some visitors see a working site and others see an error, depending on which address they typed or clicked.
How long does a DNS change actually take to go live?
It depends on the TTL, the time-to-live value, set on the specific record you changed, not on some universal internet-wide delay. A record with a one-hour TTL is usually fully updated within about an hour; a record left at 24 or 48 hours will keep serving the old answer to some visitors for that long.
What happens if my domain only has one nameserver?
A single nameserver is a single point of failure: if that provider has an outage, your domain stops resolving entirely, and every service tied to the domain, including email, checkout, and the site itself, goes down at once. Domains should have at least two nameservers, ideally from your registrar or DNS host's standard pair.
Can DNS mistakes affect my email as well as my website?
Yes. MX records, SPF, and DKIM are DNS records like any other, so the same mistakes, wrong values, missing entries, or an old provider's leftover records, break mail delivery the same way they break a website. A domain move that updates only the A record and forgets MX is a common way email quietly stops arriving.
How do I know if my DNS is actually broken right now, not just slow to update?
Query the record directly with a DNS lookup tool from more than one network, and compare the answer to what you expect it to be, rather than only reloading the site in your own browser, which may be using a cached answer. If the direct lookup does not match what you configured, it is a real DNS problem, not propagation.