TTL is a ceiling
Resolvers may cache longer; clients and OS resolvers add their own layer.
You changed the record and the old IP is still served. TTL is only one part: resolvers cache negative answers, clients cache their own lookups, and a health check can keep failing over to the same broken target.
Resolvers may cache longer; clients and OS resolvers add their own layer.
NXDOMAIN is cached for the SOA minimum TTL, often much longer than the record TTL.
A false positive moves traffic to a target that is up but wrong (old version, wrong region).
Internal and external resolvers can return different answers; a failover test must cover both.
| Command | What it shows |
|---|---|
| dig +trace name | The delegation path and which zone answers. |
| dig @1.1.1.1 name / @8.8.8.8 | Whether public resolvers agree. |
| dig name SOA | The negative-cache TTL (minimum field). |
| dig name CNAME | A CNAME at the apex or a chain that clients resolve differently. |
Drop to 60s a day before the change, then move; raise it after the new target is stable.
Application logs and health checks, not just dig from your laptop.
Rollback is another DNS change; do not tear it down immediately.
What happens when the name does not resolve at all? Timeouts and retries matter.
This page is free. The paid runbooks cover the operational failures around it, with detection commands, five failure modes and a migration checklist.