Moving DNS away from Cloudflare and removing a zone

Removing a Cloudflare zone is a DNS and service migration task. Prepare the replacement zone and origin access before deletion so websites and email remain reachable when Cloudflare no longer provides authoritative DNS or proxy services.

Prepare for the change

Export the current DNS records and review Cloudflare-dependent Workers, redirects, certificates, security and caching. Confirm the registrar allows the intended nameserver change; domains registered through Cloudflare Registrar have additional requirements.

01 Move DNS away from Cloudflare and remove a zone

  1. Create the complete DNS zone at the destination provider, including mail, verification and service records. Verify the origin has a publicly trusted certificate if visitors will connect directly.
  2. Plan DNSSEC carefully. Remove or replace registrar DS information in the correct order for the new provider so stale validation data does not break resolution.
  3. Change registrar nameservers to the destination’s exact set and verify authoritative answers, websites and two-way email as caches expire.
  4. Only after the replacement is working, open the Cloudflare zone’s Overview and use Advanced Actions > Remove from Cloudflare where shown. Review subscription effects before confirming.
  5. Retain the exported configuration and migration records. Remove obsolete rules or resources only after their replacements are confirmed.

Verify the authoritative DNS result

The domain should resolve through the new authoritative provider and all required services should work independently of the removed zone.

Should I delete the Cloudflare zone for a short diagnostic test?

For short diagnostics, pausing Cloudflare may be more suitable than deleting the zone, but it still changes the traffic path. Do not disable domain auto-renewal merely to stop using Cloudflare DNS. If the domain is registered there, follow the registrar’s supported transfer or configuration process.

Sources and further reading

  • 0 Users Found This Useful
  • performance, domains-dns
Was this answer helpful?

Related Articles

Connecting a hosted domain to Cloudflare without breaking email

Cloudflare can become the authoritative DNS provider and proxy eligible web traffic while the...

Checking whether Cloudflare is active for a hostname

A domain can use Cloudflare DNS while some hostnames remain DNS-only. CDN caching and most...

Understanding Cloudflare CNAME flattening at the zone apex

CNAME flattening lets Cloudflare resolve a CNAME target and return its final address, including...

Exporting a Cloudflare DNS zone before migration

Export the Cloudflare DNS zone before a migration or broad record change. Keep the export with...

Editing a Cloudflare DNS record and verifying authoritative answers

When Cloudflare is authoritative for your domain, edit public DNS in its zone. A matching...