Nothing propagates. When a DNS record changes, no message goes out to the world’s resolvers telling them to update. Each resolver that looked up the old record keeps its copy until a timer runs out, then asks again. That timer is the TTL, and “waiting for DNS to propagate” is really waiting for thousands of independent caches to expire on their own schedules. To watch it happen, a small test zone for the reserved domain example.test was served from BIND 9.18 on Ubuntu 24.04, with an Unbound 1.19 caching resolver in front of it, and every step below was timed.
What the TTL number means
The definition
The original DNS specification, RFC 1035, defines TTL as a 32-bit unsigned integer giving the time interval, in seconds, that a record may be cached before it should be discarded. The same section says a zero TTL means the record should only be used for the transaction in progress and not cached at all.
Two clocks, not one
The number in the zone file is the starting value. A resolver that caches the record counts it down, and every answer it gives out from cache carries the time remaining, not the original value. That is why two people querying the same name through different resolvers can see different TTLs at the same moment: each is looking at a different cache’s countdown.
The earlier post on DNS record types used the same kind of test zone to show what each record does. This one is about how long the answers live.

The test setup
Authoritative server and resolver
The zone had two address records with very different TTLs:
$TTL 300
@ 3600 IN SOA ns1.example.test. admin.example.test. 1 3600 600 86400 120
@ 3600 IN NS ns1.example.test.
ns1 3600 IN A 127.0.0.1
www 60 IN A 192.0.2.10
api 3600 IN A 192.0.2.20
BIND served it as the authority for example.test on port 5300, with recursion off. Unbound ran as a separate caching resolver on another address and was told to send queries for example.test to BIND. All queries in the tests went to Unbound, the way a laptop’s queries go to a home router or an ISP resolver, never straight to the authority.
The first query
$ dig @127.0.0.2 -p 5301 www.example.test +noall +answer
www.example.test. 60 IN A 192.0.2.10
Unbound had nothing cached, asked BIND, and passed on the full 60 seconds. From this moment the resolver held its own copy, and the clock on that copy was the only thing that would send it back to BIND. Every test below is a variation on that one fact: what the resolver does while its copy is still alive, and what happens to anyone relying on it.
Watching a cached record count down
Twenty seconds later
www.example.test. 36 IN A 192.0.2.10
The TTL had dropped. Unbound did not ask BIND again; it answered from cache and reported how much life the cached copy had left.
Changing the record at the source
The zone was then edited so www pointed to 192.0.2.99, the serial was raised, and BIND reloaded. Asked directly, the authority gave the new answer at once:
www.example.test. 60 IN A 192.0.2.99
The resolver, asked a second later, still gave the old one:
www.example.test. 35 IN A 192.0.2.10
This is the whole “propagation” problem in two lines. The source of truth had changed. The cache had no reason to know.
After the TTL ran out
Forty-two seconds later, past the end of the countdown, the resolver had dropped its copy, asked again, and picked up the new address with a fresh 60 seconds:
www.example.test. 60 IN A 192.0.2.99
Nobody pushed anything. The old answer simply expired.

The mistake: lowering the TTL on the day of the move
The test
The standard advice before moving a site is to lower the TTL first, so the eventual change spreads quickly. The second record tested what happens when that advice is followed too late. api was queried through the resolver while its TTL was 3600, then its TTL was lowered to 60 at the authority:
resolver before: api.example.test. 3600 IN A 192.0.2.20
authority after: api.example.test. 60 IN A 192.0.2.20
resolver after: api.example.test. 3596 IN A 192.0.2.20
The resolver kept counting down from 3,600. It had no way of learning about the new, shorter TTL without asking again, and it had no reason to ask again for an hour.
The rule that follows
A TTL reduction only helps after every cache holding the old record has expired. So the reduction has to be made at least one full old-TTL ahead of the real change: a day ahead for a record with an 86,400-second TTL, an hour ahead for 3,600. Then the actual address change reaches most resolvers within the new, short TTL. Once the move is confirmed, raising the TTL again cuts the query load back down.
Resolvers that do not follow the TTL exactly
Unbound’s own limits
A resolver is not bound to keep a record for exactly the time the zone owner chose. Unbound has a cache-max-ttl setting, default one day, that caps how long anything is cached, and the documentation notes that downstream clients see the lower TTL too. It also has cache-min-ttl, default 0 (off), and the manual warns that when the minimum kicks in, data is cached for longer than the domain owner intended.
Tested
A second Unbound instance was started with cache-min-ttl: 600 and asked for www, whose zone TTL was 60:
www.example.test. 600 IN A 192.0.2.99
That resolver would now serve this address for ten minutes regardless of the zone owner’s choice.
The opposite setting was tested on a third instance, with cache-max-ttl: 30. The api record, back at a 3,600-second TTL in the zone, came back from that resolver as:
api.example.test. 30 IN A 192.0.2.20
api.example.test. 20 IN A 192.0.2.20
The second line is ten seconds later. The resolver clipped an hour down to half a minute and handed its clients the clipped value, exactly as the manual describes. Its users would see changes quickly, at the cost of the resolver asking the authority 120 times an hour instead of once. If the record changed again, its users would lag behind everyone else. This is the mechanism behind reports of a few networks seeing old records long after a change: their resolver’s policy, not the zone’s TTL, is in charge.
Other caches in the chain
Operating systems and browsers can keep their own short-lived caches between the application and the resolver. They add another layer that can hold a stale answer after the resolver has moved on. Flushing a local cache helps only with that layer; it does nothing about the resolver’s copy.

Negative answers are cached too
The test
A name that does not exist in the zone was queried twice, five seconds apart:
example.test. 120 IN SOA ns1.example.test. admin.example.test. 2 3600 600 86400 120
example.test. 115 IN SOA ns1.example.test. admin.example.test. 2 3600 600 86400 120
The answer was NXDOMAIN, and it came with the zone’s SOA record in the authority section, counting down like any other cached record. Its TTL was 120, not 3,600.
Where the 120 came from
RFC 2308 requires an authority to include the SOA record when reporting that a name or record type does not exist, so the answer can be cached. It sets that SOA’s TTL from the smaller of the SOA’s own TTL and its last field, MINIMUM, which then indicates how long a resolver may cache the negative answer. In the test zone, the SOA TTL was 3,600 and MINIMUM was 120, so the negative answer lived 120 seconds. Unbound also applies its own ceiling here: cache-max-negative-ttl defaults to 3,600 seconds.
Why it bites
The common trap is looking up a new subdomain before creating it, perhaps to check whether it is free. The resolver caches “does not exist.” Creating the record a minute later does not help until that negative answer expires. With a large MINIMUM value in the SOA, that can be a long wait for a record that already exists at the source.
Choosing TTL values
What the tests suggest
The longest anyone can see a stale answer from a well-behaved resolver is the TTL that was in force when they last looked it up. A short TTL makes changes fast and costs more queries; a long one does the reverse. For records that change rarely, an hour or a day is ordinary. For a record about to change, the useful pattern is the one the api test showed in reverse: lower it a full old-TTL before the move, change it, confirm, raise it again.
What each choice costs
The arithmetic is simple. A resolver with steady traffic for a name refreshes it once per TTL, and anyone can be up to one TTL behind:
| TTL | Refreshes per resolver per day | Longest stale window |
|---|---|---|
| 60 s | 1,440 | 1 minute |
| 300 s | 288 | 5 minutes |
| 3,600 s | 24 | 1 hour |
| 86,400 s | 1 | 1 day |
Multiply the middle column by every busy resolver on the internet and the load on a zone’s name servers follows. For a small site the difference rarely matters to the servers; it matters most to how long a mistake stays visible.
Checking from outside
Querying the authoritative servers directly, as in the test, shows what the zone currently says. Querying a few public resolvers shows what their caches hold, and the TTL in each answer shows how long until each one asks again. When the authority is right and a resolver is wrong, there is nothing to fix at the source. The only remaining step is to wait.
Sources
- RFC 1035, Domain Names: Implementation and Specification (IETF): https://www.rfc-editor.org/rfc/rfc1035.txt
- RFC 2308, Negative Caching of DNS Queries (IETF): https://www.rfc-editor.org/rfc/rfc2308.txt
- unbound.conf(5) manual, NLnet Labs: https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound.conf.html
