I moved my nameserver for one of my domains from GoDaddy to DigitalOcean, and for the most part it is much better, but I’m missing the import/export zone file feature.
Is there anyway to replicate this on digital ocean?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
There is not an import feature for DNS, however this is quite easy to manage. Lets say your domain is <6>example.com<^>. As you mentioned you have updated your nameservers for this domain to DigitalOcean.
Your next step will be to navigate to the Networking section within your DigitalOcean account. Here you will see a Domains section with a text filed labeled Enter Domain, enter your domain here and press the button labeled "Add Domain*
Once complete, click on the link for you freshly entered domain. This will open up the Zone File which should have a few NS records entered already for you. Here you will add the various records needed to point to your droplets and/or other services as needed.
https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-dns
This is a significant barrier to moving complex DNS records to this server, I would much rather just go to cloudflare.com enter my domain and have all of my records imported. Once done I can confidently move forward knowing that no typos or other human errors have been introduced as well as not having to spend hours typing in DNS info.
You can go to https://cloud.digitalocean.com/networking/domains and click on More... > Download zone right next to your domain, but this has to be done manually.
I’ve not found how to get the zone file from the API, but you can send a request as described here, to get a JSON with all the DNS records: https://docs.digitalocean.com/reference/api/api-reference/#operation/list_all_domain_records
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.