Adding a domain you own to your DigitalOcean account lets you manage the domain’s DNS records with the control panel and API. Domains you manage on DigitalOcean also integrate with DigitalOcean Load Balancers and Spaces to streamline automatic SSL certificate management.
DNS zone files are plain text files that contain all of the record information for your domain on DigitalOcean. You can download this file to migrate DNS configurations to other DigitalOcean Teams or DNS providers.
To download a zone file for a domain, log in to the control panel and click Networking in the main menu to go to the Domains tab.
Open the More menu of the domain whose zone file you want to download, and then click Download zone. The zone file downloads to your local machine.