Moving a domain from cPanel to Cloudflare should be simple, but it often isn’t. While Cloudflare offers tools to sync records, the reality of day-to-day web management often gets in the way.
The Problem: When API Syncing isn’t an Option
The standard way to bridge the gap between cPanel and Cloudflare is using the Cloudflare API to sync records. However, this isn’t always feasible:
Restricted Environments: Some hosting providers block the necessary terminal access or API calls needed to run sync scripts.
Configuration Overhead: Setting up API keys and running scripts for a single subdomain or a quick site migration can be overkill.
Workflow Friction: If you are working on a remote site or a client’s environment, you often just want a quick way to move records without deep-diving into API configurations.
The Solution: VJ cPanel DNS to Cloudflare Importer
I built this tool to provide a middle ground. It’s a browser-based utility that turns the raw DNS data you see in cPanel into a Cloudflare-ready zone file in seconds.
How it works:
Paste Data: Copy the DNS table HTML directly from your cPanel Zone Editor, or simply copy-paste the plain text rows, and paste either into the tool.
Automatic Parsing: The tool intelligently identifies A, AAAA, CNAME, MX, SRV, TXT, and CAA records, handling complex data like priorities and weights automatically.
Edit if Needed: Before exporting, you can add, edit, or delete individual records directly in the built-in records editor.
Instant Export: Follow the simple 3-step flow — Load, Generate, Download — and get a properly formatted .txt zone file that Cloudflare can import immediately.
Why I Built This
I created this tool to streamline my own workflow. Sometimes the “proper” way (using APIs and terminal commands) is either blocked by the host or simply takes more time than a quick copy-paste. This tool ensures that even without terminal access, you can migrate DNS records accurately and quickly.
I’m sharing this for anyone else who needs a reliable way to bridge the gap between cPanel and Cloudflare.
Give it a try and let me know if you have any feedback for updates or fixes!
Try the tool here: dnsimporter.vjranga.com
Check out the source code: VJ cPanel DNS to Cloudflare Importer
