Fastly → Cloudflare DNS
Move zones, record sets, names, and ttls, nameservers, delegation, and dnssec, traffic steering and health checks, proxy, cdn, origins, and host headers, tls certificates and security policy, caching, purge, and stale behavior, redirects, rewrites, edge logic, and headers, waf, bot, rate-limit, and access controls from Fastly to Cloudflare DNS with a reversible cutover, explicit exception ledger, and evidence-backed verification.
Should you make this move?
Both platforms have a case. Compare what you gain with what you give up before scheduling the cutover.
Fastly
- A programmable high-performance CDN offers precise caching, instant purge, and strong edge controls
- Declarative infrastructure makes environments reviewable, repeatable, and automatable
- Service configuration, VCL or Compute logic, security products, and contracts require specialist operation
- State identity, provider behavior, secrets, and plans must remain aligned to avoid destructive changes
Cloudflare DNS
- Fast authoritative DNS integrates with proxying, security, analytics, and a large global edge network
- Declarative infrastructure makes environments reviewable, repeatable, and automatable
- Proxied records, edge rules, and Cloudflare-specific security behavior extend far beyond portable zone data
- State identity, provider behavior, secrets, and plans must remain aligned to avoid destructive changes
Cloudflare DNS: Fast authoritative DNS integrates with proxying, security, analytics, and a large global edge network. This removes a major source-side concern: Service configuration, VCL or Compute logic, security products, and contracts require specialist operation.
What you lose: A programmable high-performance CDN offers precise caching, instant purge, and strong edge controls. What you inherit: Proxied records, edge rules, and Cloudflare-specific security behavior extend far beyond portable zone data.
Jump to a section
Know the shape of the move.
This timeline assumes
- Up to 1,000 zones, 100,000 records, 500 edge rules, and 10 Tbps of peak traffic
- Administrators control both Fastly and Cloudflare DNS, including billing, identity, APIs, integrations, and export permissions.
- Fastly remains intact and recoverable until Cloudflare DNS completes one representative operating cycle.
- A production-shaped pilot includes every object type, access class, edge case, and failure path.
- The migration team preserves stable source identifiers and records durable evidence for every blocking check.
What survives the move.
“Partial” and “manual” are not footnotes. They are work that must be scheduled and verified.
| Item | Outcome | Impact | What happens | Mitigation |
|---|---|---|---|---|
| Zones, record sets, names, and TTLs | partial | critical | Zone-file support, aliases, apex behavior, routing records, comments, and TTL limits differ. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Map zones, record sets, names, and ttls explicitly, pilot every feature class, and reconcile accepted, changed, rejected, and excluded items. |
| Nameservers, delegation, and DNSSEC | manual | critical | Registrar delegation, DS records, signing keys, propagation, and negative caching require staged change. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild nameservers, delegation, and dnssec, then test normal, edge, failure, and rollback behavior. |
| Traffic steering and health checks | manual | critical | Weighted, latency, geographic, failover, load-balancing, and health-check semantics differ. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild traffic steering and health checks, then test normal, edge, failure, and rollback behavior. |
| Proxy, CDN, origins, and host headers | manual | critical | Proxy modes, shielding, origin selection, SNI, host headers, and connection policy require reconstruction. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild proxy, cdn, origins, and host headers, then test normal, edge, failure, and rollback behavior. |
| TLS certificates and security policy | manual | critical | Certificate issuance, custom keys, cipher policy, minimum versions, mTLS, and renewal ownership change. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild tls certificates and security policy, then test normal, edge, failure, and rollback behavior. |
| Caching, purge, and stale behavior | manual | critical | Cache keys, TTL precedence, stale controls, tags, surrogate keys, and purge APIs differ. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild caching, purge, and stale behavior, then test normal, edge, failure, and rollback behavior. |
| Redirects, rewrites, edge logic, and headers | manual | critical | Rule languages, execution order, limits, header changes, and edge compute are provider-specific. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild redirects, rewrites, edge logic, and headers, then test normal, edge, failure, and rollback behavior. |
| WAF, bot, rate-limit, and access controls | manual | critical | Managed rules, expressions, IP lists, challenges, rate windows, and allowlists do not translate directly. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild waf, bot, rate-limit, and access controls, then test normal, edge, failure, and rollback behavior. |
| Logs, analytics, and historical baselines | lost | high | DNS query, request, security, cache, and performance history remains provider-native. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Archive logs, analytics, and historical baselines as dated source evidence and define the new destination baseline. |
| APIs, credentials, automation, and billing | manual | high | Resource IDs, tokens, Terraform providers, quotas, contracts, and cost models change. A successful bulk job therefore does not prove semantic parity between Fastly and Cloudflare DNS. | Inventory and rebuild apis, credentials, automation, and billing, then test normal, edge, failure, and rollback behavior. |
Where each thing goes.
| Source | Destination | Method | Notes |
|---|---|---|---|
| Fastly: Zones, record sets, names, and TTLs | Cloudflare DNS: approved zones, record sets, names, and ttls representation | transform | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for zones, record sets, names, and ttls. |
| Fastly: Nameservers, delegation, and DNSSEC | Cloudflare DNS: approved nameservers, delegation, and dnssec representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for nameservers, delegation, and dnssec. |
| Fastly: Traffic steering and health checks | Cloudflare DNS: approved traffic steering and health checks representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for traffic steering and health checks. |
| Fastly: Proxy, CDN, origins, and host headers | Cloudflare DNS: approved proxy, cdn, origins, and host headers representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for proxy, cdn, origins, and host headers. |
| Fastly: TLS certificates and security policy | Cloudflare DNS: approved tls certificates and security policy representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for tls certificates and security policy. |
| Fastly: Caching, purge, and stale behavior | Cloudflare DNS: approved caching, purge, and stale behavior representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for caching, purge, and stale behavior. |
| Fastly: Redirects, rewrites, edge logic, and headers | Cloudflare DNS: approved redirects, rewrites, edge logic, and headers representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for redirects, rewrites, edge logic, and headers. |
| Fastly: WAF, bot, rate-limit, and access controls | Cloudflare DNS: approved waf, bot, rate-limit, and access controls representation | manual | Preserve source IDs, ownership, timestamps, access intent, and an explicit exception status for waf, bot, rate-limit, and access controls. |
| Fastly: Logs, analytics, and historical baselines | No destination | unsupported | Retain immutable source evidence; do not manufacture destination-native history. |
Make the move recoverable.
Create the source-of-truth backup
Preserve Fastly data, configuration, access, and operating evidence before any destination write.
- Export every available Fastly object and binary in scope, including zones, record sets, names, and ttls, nameservers, delegation, and dnssec, traffic steering and health checks, proxy, cdn, origins, and host headers.
- Capture configuration and runtime dependencies for tls certificates and security policy, caching, purge, and stale behavior, redirects, rewrites, edge logic, and headers, waf, bot, rate-limit, and access controls.
- Record counts, sizes, owners, timestamps, access classes, financial totals where applicable, and known exceptions.
- Hash immutable exports, record tool versions and commands, and transform working copies only.
Proof to capture: A signed manifest accounts for every scoped record class, configuration object, binary, count, total, exception, and hash.
Identity, schema, and disposition registry
Preserve stable identity and make every mapping or exclusion reviewable.
- Inventory source types, identifiers, owners, states, and access.
- Define one approved destination representation or explicit archive decision.
- Reject unmapped critical items and produce an exception ledger.
Proof to capture: Save the input, output, command or tool settings, warnings, and final item counts.
Dependency-ordered migration package
Load prerequisite identities and configuration before dependent records and runtime actions.
- Normalize encoding, timestamps, identifiers, nulls, and destination limits.
- Run a representative pilot and retain request, response, and rejection evidence.
- Reconcile the final delta before enabling destination production writers.
Proof to capture: Save the input, output, command or tool settings, warnings, and final item counts.
The things most likely to hurt.
These are operating limits. Treat every “Stop if” condition as a blocked migration, not a suggestion.
A completed migration hides missing or altered zones, record sets, names, and ttls
Headline counts look plausible while semantic, access, or relationship checks fail.
- Consequence
- The destination becomes authoritative with incomplete or misleading business data.
- Mitigation
- Reconcile by type, state, owner, access class, and representative record rather than total count alone.
Stop if: Any critical item lacks a verified destination, approved transformation, explicit exclusion, or recoverable archive.
Fastly and Cloudflare DNS both perform production actions
Users, schedules, webhooks, integrations, or traffic continue changing both systems.
- Consequence
- State diverges or customers receive duplicate, contradictory, or unsafe actions.
- Mitigation
- Freeze source writers and transfer one production owner at a time with an approved rollback.
Stop if: An unapproved source writer or destination duplicate action appears after the freeze.
Destination access or security is broader than approved
A representative restricted user can read, change, export, or trigger an unauthorized item.
- Consequence
- Confidential, regulated, financial, or security-sensitive data is exposed or changed.
- Mitigation
- Apply least privilege before bulk loading and test every access class using ordinary identities.
Stop if: Any unauthorized read, write, export, administrative action, or secret access succeeds.
Do the work in this order.
- Days 1–4 · inventory
Inventory and decisions
8–16 hours active2–4 days elapsedOwner, legal, security, and finance review waiting- Inventory Fastly data, configuration, identities, integrations, limits, and billing.
- Approve scope, owners, mappings, exclusions, acceptance thresholds, and rollback authority.
Depends on: Fastly and Cloudflare DNS administrator access
Stop / go checkpointExport?
Go when: Every critical item and production action has an owner and disposition.
Stop when: Authority, retention, billing, access, or system ownership is unclear.
- Days 3–8 · backup
Backup and reconcile
8–20 hours active2–5 days elapsedProvider export processing waiting- Create immutable data, configuration, binary, and audit exports.
- Reconcile source counts, totals, sizes, access classes, and hashes.
Depends on: Approved inventory and retention location
Stop / go checkpointTransform?
Go when: The signed source manifest and exports agree.
Stop when: Any critical dataset, binary, configuration, or recovery path is absent.
- Days 6–20 · pilot
Map, transform, and pilot
25–70 hours active5–12 days elapsedDestination processing and owner review waiting- Configure Cloudflare DNS and transform a production-shaped pilot.
- Test normal records, every feature class, edge cases, permissions, failures, and rollback.
Depends on: Verified source backup and approved mapping registry
Stop / go checkpointScale?
Go when: Every pilot mapping and blocking verification check passes.
Stop when: Any critical invariant, access boundary, or production action lacks a safe destination.
- Days 18–35 · cutover
Bulk load, final delta, and switch
20–55 hours active2–8 days elapsedImports, propagation, indexing, or synchronization waiting- Freeze production writes and automated actions in Fastly.
- Apply and reconcile the final delta, switch ownership to Cloudflare DNS, and run all blocking checks.
Depends on: Passed pilot, stakeholder go decision, and rehearsed rollback
Stop / go checkpointOpen production?
Go when: Cloudflare DNS is the sole production owner and every critical exception is resolved.
Stop when: A source writer remains active, a blocking check fails, or rollback is unavailable.
- Days 25–45 · observe
Observe and close
9–19 hours active7–14 days elapsedRepresentative operating-cycle evidence waiting- Monitor correctness, access, failures, latency, delivery, cost, and user outcomes.
- Sign the verification report and close rollback only after stable evidence.
Depends on: Verified cutover
Stop / go checkpointClose rollback?
Go when: No trigger occurs during the approved observation period.
Stop when: Data, access, delivery, routing, cost, or business results regress.
Cut over with a way back.
Cutover
Make Cloudflare DNS the only production system without losing the final Fastly delta.
- Freeze user, integration, schedule, and API writes in Fastly.
- Capture and reconcile the final source delta against the last verified checkpoint.
- Apply the approved delta and configuration changes to Cloudflare DNS.
- Switch traffic, domains, integrations, credentials, automation, and user entry points in dependency order.
- Run every blocking verification check and keep the source intact.
Proof to capture: Cloudflare DNS alone owns production, totals reconcile, exceptions are signed, and every blocking check has durable evidence.
Rollback
Return production ownership to Fastly without losing destination-era changes.
- Stop new user, integration, schedule, and API writes in Cloudflare DNS.
- Restore prior Fastly traffic, domains, credentials, automation, and integration ownership.
- Export and classify the Cloudflare DNS post-cutover delta.
- Apply safe destination-era changes back to Fastly without duplicating actions.
- Run the same blocking checks against the restored source.
Proof to capture: Fastly again owns production with current data and no duplicate destination action.
- Unexplained critical count, value, relationship, or checksum variance
- Missing, corrupted, or exposed critical data
- Duplicate production action or unresolved split-brain state
- Failed access, security, delivery, routing, performance, or integration check
- A critical feature has no safe destination replacement or rollback path
Prove the migration worked.
Every blocking check must pass. Capture the evidence before cleanup begins.
| Pass | ID | Check | Method | Expected result | Evidence |
|---|---|---|---|---|---|
V-01Blocking | Zones, record sets, names, and TTLs reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for zones, record sets, names, and ttls. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Zones, record sets, names, and TTLs ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-02Blocking | Nameservers, delegation, and DNSSEC reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for nameservers, delegation, and dnssec. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Nameservers, delegation, and DNSSEC ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-03Blocking | Traffic steering and health checks reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for traffic steering and health checks. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Traffic steering and health checks ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-04Blocking | Proxy, CDN, origins, and host headers reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for proxy, cdn, origins, and host headers. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Proxy, CDN, origins, and host headers ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-05Blocking | TLS certificates and security policy reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for tls certificates and security policy. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | TLS certificates and security policy ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-06Blocking | Caching, purge, and stale behavior reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for caching, purge, and stale behavior. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Caching, purge, and stale behavior ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-07Blocking | Redirects, rewrites, edge logic, and headers reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for redirects, rewrites, edge logic, and headers. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | Redirects, rewrites, edge logic, and headers ledger with counts, exceptions, sample IDs, and owner sign-off. | |
V-08Blocking | WAF, bot, rate-limit, and access controls reconciliation | Compare source inventory, transformed output, destination results, and a stratified sample for waf, bot, rate-limit, and access controls. | Every in-scope item is present, intentionally transformed, explicitly excluded, or retained in the signed source archive. | WAF, bot, rate-limit, and access controls ledger with counts, exceptions, sample IDs, and owner sign-off. |
Remove the scaffolding safely.
Safe after: One complete operating cycle, at least seven stable days, and owner sign-off on every blocking check and exception.
- Create final Fastly exports and archive verification, access, financial, and rollback evidence.
- Revoke temporary credentials, API keys, webhooks, elevated roles, and migration network access.
- Remove obsolete jobs, embeds, domains, integrations, collectors, routes, and DNS records.
- Keep the source intact and read-only through the approved legal and operational retention window.
- Cancel paid plans only after billing, legal, security, evidence, and recovery review.
- Schedule the next Cloudflare DNS backup, restore test, access review, and migration-playbook review.
Verify against the primary material.
Platform behavior changes. Check these sources and the review dates above before executing a production migration.
- Fastly: official portability and migration documentationAccessed 2026-07-20
- Cloudflare DNS: official portability and migration documentationAccessed 2026-07-20