In cPanel, open Backup under Files, generate a full account backup and download it. Extract the archive and open the dnszones folder, where each domain has its own file ending in .db. Alternatively, open JetBackup 5, go to Restore & Download, choose the Domains tab and click Download beside the domain. The JetBackup 5 route needs at least one existing backup snapshot.
Exporting your DNS zone from cPanel creates a complete record of your domain’s DNS configuration. You can use this file to archive records, audit your setup or migrate to another DNS service without losing any entries.
You will export your zone using either the cPanel backup tool or JetBackup 5, then locate the zone file in the downloaded archive. Both methods produce the same zone file format.
The cPanel backup tool creates a complete account backup that includes all DNS zones. This method works immediately without waiting for scheduled backups.


dnszones directory. Each zone file uses the format domainname.tld.db and contains all DNS records for that domain.

You now have a complete export of your DNS zone. If you need to export zones for multiple domains, repeat this process or use the full backup method which captures all zones at once.
JetBackup 5 lets you export individual zone files without creating a full account backup. This method requires your account to have at least one backup snapshot available.




Your zone file is now exported and ready to use. The file contains all DNS records for the selected domain in standard zone file format.
You have exported your DNS zone from cPanel using either the backup tool or JetBackup 5. The zone file contains all DNS records for your domain and can be imported into other DNS services or archived for reference.
If you are migrating your site, review our guide on using the cPanel transfer tool which handles DNS zones alongside files and databases. You may also want to perform a WHOIS lookup to verify domain ownership before making DNS changes. Our cPanel hosting includes automated backups and DNS management tools.
If you run into any trouble, get in touch and our team will be happy to help.
Did this guide solve your problem?
Our UK support team answers tickets and live chat every day. Send us the guide you were following and where it stopped working.
Related guides
cPanel hosting with the tools these guides use, backed by UK support.
Get cPanel HostingProtect your visitors with SSL certificates – from budget DV to premium EV certificates.
Get SSL Certificate