When does DNS catch up?
Move through a DNS change and see which address two resolvers return.
Resolver A first looks up the name at 0 seconds. Resolver B first looks it up at 10 seconds. The authoritative record changes at 15 seconds.
- Authoritative DNS
192.0.2.20- Resolver A
192.0.2.1030 s until the old answer expires- Resolver B
192.0.2.1040 s until the old answer expires
Predict the cutover
With a 60-second TTL, which address does each resolver return at 65 seconds?
Reveal the worked example
Resolver A’s old answer expired at 60 seconds, so a successful new lookup returns 192.0.2.20. Resolver B cached its answer 10 seconds later. It can still return 192.0.2.10 until 70 seconds.
This model assumes a lookup at the selected time and a reachable authoritative server. It covers DNS answers, so a browser that keeps an existing connection may still use the old endpoint.
Return to the DNS lesson