Amazon Route 53 Cloudflare DNS
Migrate DNS from Route 53 to Cloudflare.
15 record types move as they are. 3 things work differently at Cloudflare, and the preview shows exactly which of your records they affect.
Free preview. Read-only. Nothing changes until you apply.
Route 53 to Cloudflare DNS migration differences
Generated from the same provider capability data the migration engine uses.
Moves as-is
- A
- AAAA
- CNAME
- MX
- TXT
- NS
- SRV
- CAA
- PTR
- DS
- HTTPS
- SVCB
- TLSA
- SSHFP
- NAPTR
Alias records are converted
Routing policies are flattened
TTLs below 60s are raised
A typical Route 53 zone at Cloudflare
Example records for example.com. Open any flagged row to read why it changed.
Route 53 Cloudflare
- TranslatedCNAME@
d1a2b3.cloudfront.net.
Stored as an apex CNAME to d1a2b3.cloudfront.net. Cloudflare flattens it automatically.
- ExactMX@
10 mx1.mail.example.net. +1
- ExactTXT@
"v=spf1 include:_spf.example.net -all"
- ExactCAA@
0 issue "letsencrypt.org"
- ExactTXT_dmarc
"v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
- ExactSRV_sip._tls
100 1 443 sip.example.net.
- ReviewAapi
192.0.2.10 +1
Weighted routing isn't available at the destination. All 2 answers are served together as simple round-robin.
- TranslatedTXTlegacy
"v=spf1 -all"
SPF record type is obsolete. Stored as TXT, which is what mail servers read.
- ExactCNAMEwww
example.com.
| Status | Type | Name | At Cloudflare | TTL | Details |
|---|---|---|---|---|---|
| Translated | A CNAME | @ |
| 1m | |
| Exact | MX | @ |
| 1h | |
| Exact | TXT | @ |
| 1h | |
| Exact | CAA | @ |
| 1h | |
| Exact | TXT | _dmarc |
| 1h | |
| Exact | SRV | _sip._tls |
| 1h | |
| Review | A | api |
| 1m | |
| Translated | SPF TXT | legacy |
| 5m | |
| Exact | CNAME | www |
| 1h |
Set up the connections
Use the provider-specific credential guides before you preview, then keep the migration checklist beside the cutover plan.
How the move works
- 1
Connect Route 53
Connect Route 53 with read-only access (Cross-account IAM role with an external ID).
- 2
Connect Cloudflare
Connect Cloudflare (Scoped API token). Write access is only used when you apply.
- 3
Review the preview
Check every record marked Review or Unsupported. Each one explains what changes and why.
- 4
Apply to Cloudflare
We snapshot the Cloudflare zone, write in batches, and leave Route 53 untouched.
- 5
Verify
We query Cloudflare's own nameservers for every record and compare the answers before you switch.
- 6
Switch nameservers
Lower TTLs a day or two ahead, remove any DS record if DNSSEC is on, then point the domain at the new nameservers at your registrar.
Good to know about Route 53
- Alias records can only target AWS resources or records in the same hosted zone.
- Weighted, latency, geolocation and failover routing are Route 53 features. Most other providers can't reproduce them.
- Apex CNAMEs are not allowed. Use an alias record instead.
Access we need: route53:ListHostedZones, GetHostedZone, ListResourceRecordSets for the preview; ChangeResourceRecordSets and CreateHostedZone to apply.
Good to know about Cloudflare
- Proxied (orange-cloud) records hide the origin IP. Moving them to another provider sends traffic straight to the origin.
- Apex CNAMEs are flattened by Cloudflare. Other providers need an ALIAS record or static A/AAAA records instead.
- Cloudflare Registrar only allows Cloudflare nameservers, so domains registered there must be transferred out first.
Access we need: Zone → Zone → Read and Zone → DNS → Read for the preview, Zone → DNS → Edit to apply (Zone → Zone → Edit only covers zone settings, not DNS records). Include the zone, or All zones, under Zone Resources. Redirect and Worker route records also need Zone → Single Redirect → Edit and Zone → Workers Routes → Edit.
Migration notes for Route 53 to Cloudflare
Reviewed
Route 53 alias records and weighted, latency, geo and failover routing have no Cloudflare equivalent, so the preview flags each one before anything is written.
Export at Route 53
- DNSMigrator reads Route 53 through a cross-account IAM role with an external ID, using route53:ListHostedZones and route53:ListResourceRecordSets. It never asks for AWS access keys.
- For a manual copy,
aws route53 list-resource-record-sets --hosted-zone-id <id>lists every record set, including aliases and routing policies, as JSON.
Import at Cloudflare
- At Cloudflare the adapter uses a scoped API token: Zone · DNS · Read to preview and Zone · DNS · Edit to apply. Writes go through Cloudflare's batch DNS records endpoint.
- New Cloudflare zones default to proxied off for records imported through the API unless you opt in; check the proxy toggle on A, AAAA and CNAME records after apply.
Watch for
- Route 53 alias records (to CloudFront, S3, load balancers or another record in the zone) only exist inside AWS. They become CNAMEs at Cloudflare, and at the apex Cloudflare flattens the CNAME to A/AAAA answers.
- Weighted, latency, geolocation and failover record sets collapse: Cloudflare has no routing policies, so the sets flatten to one answer set and each is flagged for review.
- Cloudflare's minimum TTL is 60 seconds, so any shorter Route 53 TTL is raised to 60 and shown as translated.
- If DNSSEC is enabled, remove the DS record at the registrar and wait for it to expire before switching nameservers, then enable DNSSEC at Cloudflare and publish its new DS record.
Example
A Route 53 apex alias example.com A -> d123.cloudfront.net (alias) becomes example.com CNAME d123.cloudfront.net. at Cloudflare, which CNAME-flattens it to A/AAAA answers at the apex. A weighted pair api.example.com A 192.0.2.10 (weight 80) / 192.0.2.20 (weight 20) collapses to a single api.example.com A answer set.
Rollback
Rollback re-plans against the live Cloudflare zone and only reverses DNSMigrator's own writes there; it does not restore Route 53 (apply never writes it) and cannot undo a nameserver switch you made at the registrar.
Questions
Will there be downtime moving from Route 53 to Cloudflare?
Not if both providers serve the same answers during the switch. The records are copied to Cloudflare and verified before you change nameservers, so resolvers get the same answer from either side while caches expire.
Do I have to delete anything at Route 53?
No. Preview, apply and rollback never write to Route 53; the only optional change there is lowering TTLs before cutover. Keep the old zone for a week after cutover so you can switch back if anything looks wrong.
What about DNSSEC?
If DNSSEC is on, remove the DS record at your registrar and wait for it to expire before switching nameservers. Then enable DNSSEC at Cloudflare and publish its new DS record. The cutover plan walks you through each step.
Ready to see your own zone?