from Hacker News

Flares is a CloudFlare DNS backup tool

by lfaoro on 6/5/19, 11:13 AM with 18 comments

  • by NikolaeVarius on 6/5/19, 12:58 PM

    I too enjoy taking my keys to the kingdom and piping a bash script with it to do stuff.
  • by hugoromano on 6/5/19, 2:30 PM

    Well done. But you can use cf-terraforming easily. "cf-terraforming is a command line utility to facilitate terraforming your existing Cloudflare resources."

    https://github.com/cloudflare/cf-terraforming

  • by tomschlick on 6/5/19, 1:50 PM

    Shameless plug: After doing this kind of thing manually for a while, I created a service a few years ago to backup and alert you on DNS changes for all of your providers (CF, AWS, DO, Linode, etc). It's free for one domain if anyone wants to take it for a spin: https://zonewatcher.com/
  • by yoran on 6/5/19, 2:14 PM

    I added an equivalent script after we moved to Cloudflare. I found it's easy to make a mistake in the Cloudflare DNS web interface, e.g. it's easy to accidentally remove an entry.

    Now, at every deploy to production, we do a backup of the DNS configuration on Cloudflare and save it on S3. This hardly costs us anything as each backup is only a small text file. But I now feel much more comfortable when editing our DNS config.

  • by mjlee on 6/5/19, 1:31 PM

    If anybody from Cloudflare sees this - this is another good reason to add multiple API keys with permissions!
  • by 01emanresu on 6/5/19, 1:04 PM

    Cool tool! But why would I use this over dnscontrol, Terraform or OctoDNS?
  • by apple4ever on 6/6/19, 12:29 AM

    This is REALLY cool! I'll be using this a lot!