0

We are using Azure DNS to host many nameservers for our costumer domains that are facing the public internet. I would like to backup these settings in a easy way, in case of disaster or someone accedently delete the dns zone.

Any simple way?

Zurelia
  • 11
  • You are aware that there is both an API as well asa command line interface? Did you bother trying them out? Or would you like a premade solution with cherries on top, pretty please? – TomTom Sep 01 '20 at 06:49
  • `AXFR` the zone to a private secondary (non-Azure) DNS server that you back up. – tater Sep 01 '20 at 09:40
  • Hey, No, i was just looking for a easy way to make a backup incase of disaster, best thing ive came up with this far is to "export templete" – Zurelia Sep 01 '20 at 19:25

1 Answers1

0

The simplest way is going to be to store your DNS settings in some sort of template (ARM, Terraform, Pulumi etc.) and make your changes via that. You then have a controlled process for making changes, and your template can be version controlled, backed up and so in. In the event of a disaster you can re-deploy the template, but only if you keep it as your source of truth, no manual updates to the zones.

Sam Cogan
  • 38,158
  • 6
  • 77
  • 113