Skip to content
dnscheck.app

Glossary

DNS Propagation: What It Is and How Long It Takes

What DNS propagation means

DNS propagation is the period after a DNS change when resolvers (the servers that look up answers for users) still hold the old answer in cache and drop it at different times. Nothing is pushed to the world. Cached data is discarded by a timeout, and the TTL (time to live) is the number of seconds a record may be cached before it should be discarded.

Why a DNS change is not visible everywhere at once

Resolvers are generally expected to cache the answers they receive. Each one cached the old record at a different moment, so each one expires it at a different moment. The cached TTL counts down, and a resolver may cap a long TTL at its own limit, so the old answer lasts at most the TTL. Higher TTLs make changes visible more slowly.

Negative caching is storing the knowledge that a name does not exist. If a resolver asked for your new name before you created it, it may keep "does not exist" for a time set by the zone's SOA record. Where several authoritative nameservers (the servers that hold a zone's data) copy from each other, they can briefly disagree after an update.

The delay is set by the TTLs involved. For a nameserver change, the TTL of the delegation record in the parent zone, which registry operators typically set, and the cached old NS answers set the delay.

Change What limits the old answer What to check
Existing A, CNAME, MX or TXT record changed The old record's remaining TTL in each resolver's cache The record at several resolvers
Name that did not exist before is created Negative-caching TTL from the zone's SOA Whether resolvers still say "does not exist"
Nameserver change Delegation record TTL at the parent, plus cached old NS answers NS records at several resolvers

How to check progress and what you can control

Query public resolvers such as 8.8.8.8 and 1.1.1.1 with dig. Each shows only its own cache.

dig example.com A @8.8.8.8 +noall +answer
dig example.com A @1.1.1.1 +noall +answer
dig example.com NS @8.8.8.8 +short

A matching answer looks like this:

example.com.  300  IN  A  192.0.2.10
ns1.example.net.
ns2.example.net.

Compare the data and the TTL column. A cached TTL counts down between queries. Propagation looks done when the resolvers you query return the same answer. Then test critical records such as A and MX. You can also check DNS propagation across resolvers, look up the current record or check your nameserver records.

You cannot empty other resolvers' caches. You can lower the TTL before the change and wait at least the old TTL, because resolvers count down from the TTL they received. Note the current record before you change it.

Wrong: changing the address in one step while the TTL stays at 86400. Resolvers that cached the old record keep the old answer for up to 86400 seconds.

; Before
www 86400 IN A 192.0.2.10
; After, changed in one step (wrong)
www 86400 IN A 198.51.100.20

Right: lower the TTL first, wait, then change.

; Step 1: lower the TTL only, then wait at least the old TTL (86400 seconds)
www 300 IN A 192.0.2.10
; Step 2: change the address, then verify
www 300 IN A 198.51.100.20
; Step 3: once stable, raise the TTL again
www 3600 IN A 198.51.100.20

Keep the old servers or records running until the new answer is verified.

References