Skip to content

Cloudflare DNS Amazon Route 53

Migrate DNS from Cloudflare to Route 53.

15 record types move as they are. 5 things work differently at Route 53, and the preview shows exactly which of your records they affect.

Free preview. Read-only. Nothing changes until you apply.

Cloudflare to Route 53 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

Proxied records lose the CDN

Route 53 has no equivalent of Cloudflare's proxy. Proxied records move as plain records pointing at your origin, which exposes the origin IP. Put a CDN in front before cutting over if that matters.

Apex CNAMEs need a different shape

Route 53 doesn't allow a CNAME at the apex. CloudFront targets become alias records; anything else needs static A/AAAA records.

"Auto" TTLs get a real value

Cloudflare's automatic TTL has no equivalent, so those records get Route 53's default of 300s.

Domains registered at Cloudflare must transfer out

Cloudflare Registrar only allows Cloudflare's nameservers. If the domain is registered there, transfer it to another registrar before switching.

A typical Cloudflare zone at Route 53

Example records for example.com. Open any flagged row to read why it changed.

Cloudflare Route 53

  • UnsupportedCNAME@

    Not migrated

    @ is a CNAME at the zone apex. Route 53 doesn't allow that, and app.example-host.net isn't a target it can alias.

  • 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.

  • ExactAmail

    203.0.113.25

  • ReviewAshop

    203.0.113.10

    TTL was "auto". Set to 300s.

  • ExactCNAMEwww

    example.com.

How the move works

  1. 1

    Connect Cloudflare

    Connect Cloudflare with read-only access (Scoped API token).

  2. 2

    Connect Route 53

    Connect Route 53 (Cross-account IAM role with an external ID). Write access is only used when you apply.

  3. 3

    Review the preview

    Check every record marked Review or Unsupported. Each one explains what changes and why.

  4. 4

    Apply to Route 53

    We snapshot the Route 53 zone, write in batches, and leave Cloudflare untouched.

  5. 5

    Verify

    We query Route 53's own nameservers for every record and compare the answers before you switch.

  6. 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 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.

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.

Migration notes for Cloudflare to Route 53

Reviewed

The concern moving the other way is Cloudflare's proxy: proxied records move as plain records pointing at the origin, and Route 53 rejects a CNAME at the apex.

Export at Cloudflare

  • DNSMigrator reads Cloudflare with a scoped API token (Zone · DNS · Read). Redirect and Worker route records also need Zone · Single Redirect and Zone · Workers Routes scopes to appear.
  • For a manual export, use Cloudflare's DNS Records page → Import and Export → Export, which produces a BIND zone file (proxy state is encoded as a cf-proxied tag comment).

Import at Route 53

  • At Route 53 the adapter assumes the cross-account IAM role and uses route53:ChangeResourceRecordSets and route53:CreateHostedZone to apply, plus route53:GetChange to wait for INSYNC.
  • An apex CNAME is converted: to a Route 53 CloudFront target it becomes an alias record; otherwise it needs static A/AAAA records, which the preview shows.

Watch for

  • Proxied (orange-cloud) Cloudflare records hide the origin IP. At Route 53 they become ordinary records pointing straight at the origin, exposing that IP. Put a CDN in front before cutover if that matters.
  • Route 53 does not allow a CNAME at the zone apex; use an alias record (AWS targets only) or static A/AAAA records instead.
  • Cloudflare-only pseudo-records (single redirects, Worker routes) are not real DNS and do not move to Route 53.
  • If the domain is registered at Cloudflare Registrar, it only allows Cloudflare nameservers, so transfer it to another registrar before switching.

Example

A proxied shop.example.com A 203.0.113.10 (proxied) at Cloudflare becomes shop.example.com A 203.0.113.10 at Route 53 — the same address, but now publicly visible instead of behind Cloudflare. A proxied apex CNAME becomes a Route 53 alias (for a CloudFront target) or static A/AAAA records.

Rollback

Rollback reverses only DNSMigrator's writes at Route 53 by re-planning against its live state; Cloudflare isn't written by apply or rollback, and turning proxying back on or reversing a registrar nameserver change is manual.

Questions

Will there be downtime moving from Cloudflare to Route 53?

Not if both providers serve the same answers during the switch. The records are copied to Route 53 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 Cloudflare?

No. Preview, apply and rollback never write to Cloudflare; 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 Route 53 and publish its new DS record. The cutover plan walks you through each step.

What happens to Cloudflare proxied records?

They move as ordinary records pointing at your origin server, because Route 53 can't proxy traffic. The preview lists every proxied record and the IP it would expose.

Ready to see your own zone?