How does DNS TTL relate to failover and migrations?
BeginnerConceptDNS, CDN and Messaging
Answer
TTL tells resolvers and clients how long to cache a record. Long TTLs reduce query cost and latency but delay propagation of changes; short TTLs make cutovers quick. Lower the TTL (to 60 s) before a planned migration, wait out the old TTL, switch, then raise it again.
Many clients (JVMs, some proxies) cache DNS beyond TTL, so test real behaviour.
More on DNS, CDN and Messaging
What are the Route 53 record types and why use Alias instead of CNAME?BeginnerDescribe Route 53 routing policies.IntermediateHow do Route 53 health checks and DNS failover work?AdvancedWhat is a Route 53 private hosted zone?IntermediateWhat are Route 53 Resolver endpoints and rules?AdvancedHow does CloudFront work: distributions, origins and behaviors?Intermediate