Skip to content

Azure DNS Cloudflare DNS

Migrate DNS from Azure DNS to Cloudflare.

9 record types move as they are. 1 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.

Azure DNS 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

TTLs below 60s are raised

Cloudflare's minimum TTL is 60 seconds. Shorter TTLs are raised to 60s and shown as translated.

A typical Azure DNS zone at Cloudflare

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

Azure DNS Cloudflare

  • UnsupportedA@

    Not migrated

    @ is an alias to an Azure resource. It needs static IP addresses at Cloudflare.

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

  • ExactAapp

    192.0.2.30

  • ExactCNAMEwww

    example.com.

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

    Connect Azure DNS

    Connect Azure DNS with read-only access (Service principal (client ID + secret)).

  2. 2

    Connect Cloudflare

    Connect Cloudflare (Scoped API token). 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 Cloudflare

    We snapshot the Cloudflare zone, write in batches, and leave Azure DNS untouched.

  5. 5

    Verify

    We query Cloudflare'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 Azure DNS

  • Azure alias records point at Azure resource IDs, which don't exist outside Azure.
  • Apex CNAMEs are not allowed. Use an alias record to an Azure resource or A/AAAA records.

Access we need: Reader on the DNS zone for the preview, DNS Zone Contributor 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 Azure DNS to Cloudflare

Reviewed

Azure alias records point at Azure resource IDs that do not exist outside Azure, and Azure does not allow an apex CNAME, so both need attention on the way to Cloudflare.

Export at Azure DNS

  • DNSMigrator reads Azure DNS with a Microsoft Entra service principal (client ID + secret) assigned Reader on the resource group; DNS Zone Contributor is used to apply.
  • For a manual export, the Azure CLI command az network dns zone export writes the zone as a BIND file; alias records in it still refer to Azure resources.

Import at Cloudflare

  • At Cloudflare the adapter uses a scoped API token (Zone · DNS · Read to preview, Zone · DNS · Edit to apply).
  • Records imported through the API are not proxied unless you opt in; review the proxy toggle afterwards.

Watch for

  • Azure alias records reference Azure resource IDs (public IPs, Traffic Manager, Front Door, CDN) and have no meaning outside Azure. They need concrete records at Cloudflare, and the preview flags them.
  • Azure does not allow a CNAME at the apex; at Cloudflare an apex CNAME is allowed and flattened, but an Azure apex alias still has to become a real target.
  • Azure accepts TTLs down to 1 second; any TTL below Cloudflare's 60-second floor is raised to 60 and shown as translated.
  • If DNSSEC is enabled, remove the DS record at the registrar, let it expire, then enable DNSSEC at Cloudflare and publish its DS record.

Example

An Azure apex alias example.com A -> (alias to an Azure public IP resource) has to resolve to a concrete address at Cloudflare — either a flattened apex CNAME to a real hostname or static A/AAAA records. A plain app.example.com A 192.0.2.30 moves unchanged.

Rollback

Rollback reverses only DNSMigrator's writes at Cloudflare; Azure isn't written by apply or rollback, so its alias records and any registrar-level DNSSEC change remain as they were.

Questions

Will there be downtime moving from Azure DNS 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 Azure DNS?

No. Preview, apply and rollback never write to Azure DNS; 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?