How to import/export unix zone file with DNS?

April 6, 2018 3.8k views
DNS Ubuntu 16.04

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?

2 Answers

This is a significant barrier to moving complex DNS records to this server, I would much rather just go to 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.

  • My thoughts exactly! I’ve been going through some IP changes and DNS reconfiguration, nevertheless when we do have to do a rollback on DNS changes, it’s always a nightmare.

There is not an import feature for DNS, however this is quite easy to manage. Lets say your domain is <6><^>. 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.

by Melissa Anderson
This article explains how to manage your DNS records using the DigitalOcean Control Panel and can help you decide if DigitalOcean's DNS management tools are right for your situation.
Have another answer? Share your knowledge.