How do you plan DNS for a migration to a new cloud or provider?
AdvancedProductionDNS & Traffic Management in Production
Answer
Inventory every record, export zones, build the new zone and diff records via API, test every name against the new nameservers with dig, lower the NS TTL at the registrar if possible, then change delegation. Keep the old zone alive for a full TTL cycle and watch query logs on both.
Pay attention to ALIAS/ANAME, wildcard, CAA, TXT verification and DKIM records that are easy to forget.
More on DNS & Traffic Management in Production
What TTL values do you choose for production records?BeginnerHow would you design DNS for high availability?AdvancedHow do you manage DNS as code?BeginnerHow do you do a zero-downtime DNS cutover?IntermediateWhy does DNS failover take longer than expected, and how do you make it faster?AdvancedHow do Route 53 health checks work and what are their pitfalls?Intermediate