5 ms·
Flares is a CloudFlare DNS backup tool
- NikolaeVarius 7y agoI too enjoy taking my keys to the kingdom and piping a bash script with it to do stuff.
- 01emanresu 7y agoCool tool! But why would I use this over dnscontrol, Terraform or OctoDNS?
- mugsie 7y agotext/dns is a standard way to move DNS zones around - this means you can export this to a file, and possibly import it elsewhere, or just archive it as a point in time backup
- mjlee 7y agoIf anybody from Cloudflare sees this - this is another good reason to add multiple API keys with permissions!
- jgrahamc 7y agoThat's coming.
- mjlee 7y agoBrilliant - looking forward to it!
- stedaniels 7y agoThat comment inspires joy! I'm writing a tool that would jump at the chance of using limited access API keys than having the whole kingdom in my hand!
- lfaoro 7y agothank you John
- tomschlick 7y agoShameless 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/ https://zonewatcher.com/
- yoran 7y agoI 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.
- pronoiac 7y agoFor text, I'd lean to preserving that in a git repo instead.
- lfaoro 7y agoWould you like to have the tool automatically export all your DNS records to an S3 bucket? `--export=s3`, `--export=gcs`
- nodesocket 7y agoYou can also use Terraform to manage CloudFlare DNS, and you get history, backups, consistency, and change management all for free. Just push the Terraform repo up to GitHub or GitBucket.
- hugoromano 7y agoWell 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 https://github.com/cloudflare/cf-terraforming
- mugsie 7y agoterraform != text/dns Lots of DNS tools speak text/dns natively - and being able to easily get all zones in that format makes things like export / point in time backups much easier.
- apple4ever 7y agoThis is REALLY cool! I'll be using this a lot!