Tools

Cloudflare Import

Prepare and import configurations from DNS records.

Cloudflare Import Scope

Cloudflare Import reads selected active zones and prepares an editable draft from A, AAAA and CNAME DNS records. The draft can contain Services, host-based Routes and Load Balancers with Targets.

Nothing is applied while the draft is being prepared. You can exclude individual records before starting the apply operation.

Before You Begin the Import

  • Sign in with an administrator account; the module is restricted to administrators.
  • Create a Cloudflare API token with Zone Read and DNS Read access for the intended zones.
  • Review the DNS records and confirm that their A, AAAA or CNAME targets represent the actual origin endpoints.
  • Plan a maintenance window when the imported Routes could overlap with existing traffic rules.
Token handling

The Cloudflare API token is used for the current import session and is not stored on the computer by the import screen.

Connect and Fetch Zones

Navigation pathMain menuCloudflare Import
  1. Open Cloudflare Import and enter the API token.
  2. Select Connect. Apiruler lists the active zones visible to the token and initially selects them.
  3. Clear any zone that must not be included.
  4. Select Fetch to read A, AAAA and CNAME records for the selected zones.
  5. Review per-zone counts and any module-level fetch errors before continuing.

DNS-to-Configuration Mapping

DNS resultGenerated configurationDefault behavior
One A or AAAA addressOne Service and one host RouteHTTPS target on port 443.
Multiple A or AAAA addressesOne Load Balancer, one Target per address, one Service and one host RouteRound Robin with Target weight 100.
One CNAME targetOne Service and one host RouteThe first CNAME is used as the Service host.
No usable originService draft with a warningPlaceholder origin requires correction before traffic is allowed.
Saved endpoint operationAdditional method-and-path Route when availablePath parameters are converted to regular-expression segments.
Review generated origins

DNS content is treated as the origin candidate even for proxied records. Confirm every generated Service host and Target before applying the draft.

Review and Apply the Draft

  1. Review the summary counts for Services, Routes, Load Balancers and warnings.
  2. Inspect each generated name, hostname, origin, path and method.
  3. Disable Included for every item that should not be created.
  4. Resolve placeholder origins and unexpected CNAME or multi-address mappings before application.
  5. Select Apply. The platform creates Load Balancers and Targets first, then Services, then Routes.
  6. Keep the page open until the apply phase reports completion.
Existing names are skipped

If a Service, Route or Load Balancer with the generated name already exists, the importer skips that record instead of overwriting it.

Validate Import Results

  1. Review the Created Services, Created Routes, Created Load Balancers, Skipped and Failed counts.
  2. Read every failure entry and record the entity type, name and error message.
  3. Open Services and confirm the generated host, port, protocol and enabled status.
  4. Open Routes and confirm the host, path and method matching values.
  5. Open Load Balancers and verify every generated Target when a hostname had multiple addresses.
  6. Send controlled test requests only after placeholder origins and warnings have been resolved.

Cloudflare Import Troubleshooting

ProblemLikely causeWhat to do
No active zones are listed.The token cannot read zones or no active zone is available.Check token scope, account access and zone status.
No DNS records are found.The selected zones contain no A, AAAA or CNAME records visible to the token.Review Cloudflare DNS and token permissions, then fetch again.
A Service contains a placeholder origin.No usable origin address was found for the hostname.Replace the placeholder with the verified backend before sending traffic.
Records are skipped.An entity with the generated name already exists.Inspect the existing record and decide whether to keep it or import under a different name.
A Route fails after its Service fails.The parent Service was not created and no existing ID could be resolved.Correct the Service error first, then create or retry the Route.
Only part of the draft is created.Individual records failed while later independent records continued.Use the failure list to repair each record and verify all created dependencies.

Need a hand?

If you get stuck during installation or configuration, our team is ready to help.