jpbarroso
By:
jpbarroso

How to backup Digitalocean DNS

July 30, 2015 2.6k views
DNS API Ubuntu

Hi, which is the best method to backup digitalocean dns?
I've all my dns only with digitalocean (no bind, neither own dns server droplet) and i'd like make any backup... any recommends? this method with digitalocean api console from Jeff Reifman?
http://code.tutsplus.com/tutorials/using-the-digital-ocean-api-to-manage-your-dns--cms-22898

thanks!

4 comments
  • It is confusing when you say backup DNS. While you have not hosted your DNS on your own server, then what is it that you want to backup? If you want to save configurations, then take a screen-shot or just note then DNS settings on a piece of paper.

    Let me know if you wanted to ask something other than what I understood!

  • I only have DNS configs in DO control panel (NAME, A, TXT, SPF records, ...) , a lot of domains and configs, yes.... screen-shot or piece of paper? No other methods via api? i'll try the api console mentioned above, it sounds like it does a backup in a local database server, thnks.

  • Why exactly do you need to backup your DNS? There should be no reason it would be lost. I'm confused as to why this would be necessary.

    You could always just copy that block of text below your DNS settings.

  • Oks, with the api i can retrieve all this data. Following this tutorial, in 5 min. i've all my dns config in a mysql database: http://code.tutsplus.com/tutorials/using-the-digital-ocean-api-to-manage-your-dns--cms-22898
    Yes, perhaps a little paranoid, but, when you've several domains and records... better have a backup. thanks!

1 Answer

This question was answered by @jpbarroso:

Oks, with the api i can retrieve all this data. Following this tutorial, in 5 min. i've all my dns config in a mysql database: http://code.tutsplus.com/tutorials/using-the-digital-ocean-api-to-manage-your-dns--cms-22898
Yes, perhaps a little paranoid, but, when you've several domains and records... better have a backup. thanks!

View the original comment

Have another answer? Share your knowledge.