A DNS TTL governs how long a cached answer can normally remain usable before refresh; changing the authoritative record does not immediately replace every answer already cached elsewhere. For a cutover, lower the relevant TTL in advance, account for previously issued values, and verify the application at both destinations. DNS observation and service readiness are separate parts of the change.
“Wait five minutes” is not a complete migration plan when different caches learned different answers at different times.
Start with the answer a resolver already holds
Consider a synthetic record for api.example.test:
| Time relative to the first observation | Event |
|---|---|
| T+0 | A resolver receives the old address with a 3,600-second TTL |
| T+300 | The operator lowers the authoritative TTL to 60 seconds |
| T+360 | The operator changes the authoritative address |
The resolver's earlier cached answer does not acquire a new 60-second lifetime merely because the authoritative configuration changed. Under ordinary caching, its original lifetime can extend to T+3,600. Other resolvers can refresh on different schedules and observe the newer answer sooner.
These times are explanatory, not observations of a real DNS change. The useful planning step is to identify the old TTL and allow appropriate lead time before relying on the lower value.
Inspect the record path your provider actually serves
A proxied record, a directly answered address record, and a nameserver change can have different control paths. Cloudflare's TTL documentation distinguishes provider-managed proxy TTL behavior, configurable DNS-only records, and nameserver TTL considerations. Those settings should not be generalized to every DNS provider or every record type.
Follow relevant CNAME chains and record types, including IPv4 and IPv6 where the application supports both. A client using an unchanged AAAA record may continue reaching a different destination even when the A record looks correct.
Do not treat a control-panel value as evidence that every authoritative server now supplies the intended answer. Read the served result and preserve the observation time and queried authority.
Account for caches that do not hold a positive answer
A newly created name can encounter negative caching. RFC 2308 describes negative answers and their SOA-based caching lifetime. The TTL of a newly added address is therefore not the only value relevant to someone who recently received a name error.
There is also a documented exception to a simple “expired means never served” model: RFC 8767 permits stale answers in specified resilience circumstances. Resolver policies and refresh failures can matter during an incident.
Those mechanisms are reasons to observe and investigate a discrepancy, not reasons to assume that every delayed client is using a broken resolver.
Keep both destinations coherent during the transition
Before switching, verify certificates, host routing, application configuration, and dependencies at the intended destination through an authorized test method. Do not send real traffic to an unready target merely because its address resolves.
Plan what happens while clients reach both destinations. Shared state, writes, sessions, queues, and deployment compatibility may require a staged migration. DNS does not resolve a database compatibility problem.
Our deployment-strategy guide covers rollout choices more broadly. A DNS change is one routing mechanism within such a plan; it is not an independent guarantee of a safe blue-green transition.
Observe resolution and the application separately
For a change record, capture authoritative answers, selected recursive observations, returned TTLs, record type, time, and the actual application destination where that can be established. Test the user journey and inspect errors, rather than checking only that a lookup prints the expected address.
An established connection can continue using its existing destination without a fresh lookup. Browser and operating-system behavior can also complicate a single local observation. Distinguish a DNS answer from the endpoint that served a specific request.
A rollback needs the same care: some clients may retain the new address while others regain the old one. Keep a bounded overlap and recovery procedure appropriate to the workload.
No DNS query experiment, provider change, or cutover was performed here. The example is a planning timeline. The acceptance evidence for a real change must connect the intended authoritative state to observed client behavior and a working service, with remaining discrepancies recorded.