Move DNS for your main domain from the registrar's DNS to Route 53 without downtime. What's the order?
BeginnerScenarioMigrations
Answer
Situation read → The nameserver change is the risky step. If the new zone is missing a record (often MX or a TXT verification), email or SSO quietly breaks.
What I'd do →
- Export every record from the current provider (zone file if available) and create the Route 53 hosted zone with identical records.
- Verify the new zone directly before switching anything:
dig @ns-123.awsdns-45.com example.com MX +short
dig @ns-123.awsdns-45.com www.example.com +short
- Lower TTLs on the old provider a day ahead.
- Change the nameservers at the registrar to the four Route 53 NS records. The NS TTL at the TLD can be up to 48 hours, so both zones must stay identical during that time.
- Watch email delivery, SSO and certificate validation records for a couple of days, then delete the old zone. Enable DNSSEC only after things have settled.
Why → Two identical zones during propagation mean it doesn't matter which one a resolver hits.
Interview tip → Say "dig against the new nameservers before switching"; it proves you test before cutover.
More on Migrations
Migrate an application from EC2 to EKS with zero downtime. Walk me through it.AdvancedMigrate a database from on-prem MySQL to Amazon RDS with minimal downtime. How?AdvancedYou need to move Terraform state from local files to an S3 backend. How?BeginnerMigrate CI from Jenkins to GitHub Actions for 80 repositories. How do you plan it?IntermediateUpgrade an EKS cluster from 1.30 to 1.31 in production. What's your process?IntermediateMove from a monolith to microservices. What's the DevOps side of the migration?Advanced