Flares 🔥is a CloudFlare DNS backup tool
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE update issue template Nov 1, 2018
cmd/flaredns update issue template Nov 1, 2018
internal/cloud Rename exporter to service Oct 25, 2018
static Update demo video Oct 25, 2018
vendor update deps Oct 29, 2018
.gitignore u Nov 9, 2018
.gitlab-ci.yml update readme Nov 1, 2018
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Oct 25, 2018
CONTRIBUTING.md Update contibuting Oct 25, 2018
Dockerfile Fix run Oct 27, 2018
LICENSE update license copyright Nov 1, 2018
Makefile Remove uneccessary go mod step Oct 27, 2018
README.md update readme Nov 1, 2018
go.mod update deps Oct 29, 2018
go.sum update deps Oct 29, 2018


Flares 🔥

Flares is a CloudFlare DNS backup tool: every time it runs, dumps your DNS table to the screen.

Optionally exports the data into (BIND formatted) zone files.

MIT License Go Report Card FOSSA Status


Quick Start - docker (painless)

# CloudFlare API key is here:
# https://dash.cloudflare.com/profile -> Global API Key -> View
$ export CF_API_KEY=abcdef1234567890
$ export CF_API_EMAIL=someone@example.com
$ docker run -it --rm \
lfaoro/flares domain1.tld domain2.tld

Quick Start - compile (full control)

Golang must be installed: https://golang.org/dl/

# flaredns
$ go get -u github.com/lfaoro/flares/cmd/flaredns
$ cd $GOPATH/src/github.com/lfaoro/flares/
# flarelogs (TODO: coming soon)
# $ go get -u github.com/lfaoro/flares/cmd/flarelogs


$ flaredns auth # (TODO: coming soon) opens the dashboard at https://dash.cloudflare.com/profile
$ export CF_API_KEY=abcdef1234567890
$ export CF_API_EMAIL=someone@example.com

Run the app

$ make install
$ flaredns -h
$ flaredns domain.tld
$ flaredns domain.tld --export /tmp/tables

Run backup with Gitlab-CI


Any help and suggestions are very welcome and appreciated. Start by opening an issue.

  • Fork the project
  • Create your feature branch git checkout -b my-new-feature
  • Commit your changes git commit -am 'Add my feature'
  • Push to the branch git push origin my-new-feature
  • Create a new pull request against the master branch


  • use https://github.com/spf13/cobra for the CLI interface
  • add all keyword to export all the domains available in the account
  • add auth command, automatically opens CloudFlare dashboard
  • add the flarelogs command


FOSSA Status