Guides

DNS Propagation Myths: What Really Happens After a Change

DNS does not propagate like a wave. It is cached by many resolvers on their own clocks. Learn what is true, what is not and how to check a change.

By Zebra Hosting Cloud

"DNS propagation can take up to 48 hours." You will have read that sentence on many support pages. It is a convenient way of saying "please wait", but it is not an accurate description of how DNS works, and it leads people to panic or to make further changes while the first one is still settling. Understanding what really happens makes troubleshooting much faster.

Five myths about propagation

Myth 1: DNS changes are pushed out across the internet

Nothing is pushed. When you change a record, only your authoritative name servers know about it. Everyone else finds out when they next ask. Resolvers around the world hold cached copies of the old answer, and each one expires its copy independently, when its TTL runs out. "Propagation" is really cache expiry on thousands of separate clocks.

Myth 2: it always takes 24 to 48 hours

The delay is bounded by the TTL of the old record in most cases. A record with a TTL of 300 seconds is typically seen everywhere within minutes. A record with a TTL of 86400 may take up to a day. The popular 48-hour figure relates mostly to name server changes at the registry level, which can be slower, and to unusually long caches. Many changes are visible within minutes. Do not plan around a worst case unless you have a reason to.

Myth 3: you can speed it up by clearing something at your host

You cannot clear other people's caches. Your DNS host already serves the new value. What you can control is preparation: lowering the TTL before a planned change. After the change, the only remedy is waiting for caches to expire, while clearing your own local caches.

Myth 4: if it works for me, it works for everyone

Different networks use different resolvers, and each has its own cache state. You might see the new site while a colleague sees the old one, or the reverse. During a transition, both are normal. That is why a careful migration keeps the old server running with the same content until the switch is complete.

Myth 5: you should keep changing the record until it works

Every new change restarts the clock for caches that pick up the intermediate value. If you edit a record five times in an hour, you may end up with several different values cached in different places. Make one considered change, then verify.

Where the real delays come from

LayerCache lifetimeWhat you can do
Public and ISP resolversUp to the old TTLLower TTL in advance; otherwise wait
Operating systemShort, minutes or lessFlush the local DNS cache
Web browserShortRestart the browser
Registry (name server changes)Set by the registryPlan for a longer window
Negative cachingGoverned by the SOA settingsAvoid querying a name before you create it

How to check a change properly

  1. Query your authoritative server directly. With dig @ns1.yourhost.com example.com A (using your real name server) you see exactly what you have published, with no cache in between. If it is wrong here, fix it before waiting for anything.
  2. Query a public resolver. This shows what a typical user sees and whether the old value is still cached.
  3. Use online DNS check tools that query from several regions, to get an idea of progress.
  4. Flush your local cache before testing from your own machine. The command differs by operating system, so check your system's documentation.

Testing a site before the DNS switch

To see a new server before changing DNS, point your own computer at it using your hosts file. The hosts file overrides DNS only for your machine, so you can test the whole site safely. Remember to remove the entry afterwards, or you will wonder later why your computer sees a different server than everyone else.

Email during a DNS change

Mail is more forgiving than web. Sending servers retry for days if a destination is temporarily unavailable, and they honour MX priorities. Even so, avoid leaving MX records half-changed. Follow the order in our guide to MX records: mailboxes first, copy old mail, switch, then verify.

When to worry

If the authoritative server shows the wrong value, the problem is your configuration, not propagation. If a public resolver shows the old value long after the TTL, query another resolver, and check whether you changed the name servers at the registrar. If the name servers at the registrar are not the ones you are editing, your changes will never take effect, no matter how long you wait.

A calm checklist for change day

  1. Confirm the new server is ready and tested.
  2. Confirm TTLs were lowered in advance.
  3. Make a single change and note the time.
  4. Verify at the authoritative server first, then at public resolvers.
  5. Leave the old server running until traffic to it has faded.

Following these steps turns an anxious wait into a routine procedure.

Smoother changes with Zebra Hosting

Zebra Hosting's team can prepare your new hosting and mailboxes before DNS changes and tell you exactly which records to update. Support is available in 17 languages. See the free migration service or contact us via the contact page.