Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Flares πŸ”₯

Flares is a CloudFlare DNS backup tool, it dumps your DNS table to the screen or exports it as BIND formatted zone files.

BSD License FOSSA Status Go Report Card

Docker Pulls PayPal

Quick Start

Video Tutorial

Docker

# Fetch your CloudFlare API token from here:
# https://dash.cloudflare.com/profile/api-tokens
# -> Create Token
# -> Edit zone DNS
# -> Permission: read
# -> Zone resources: Include -> All zones

$ export CF_API_TOKEN="KClp4y8BgD2LQiz2..."

$ docker run -it --rm \
-e CF_API_TOKEN="$CF_API_TOKEN" \
lfaoro/flares domain1.tld domain2.tld

macOS

brew install lfaoro/tap/flares

Linux/BSD

curl https://raw.githubusercontent.com/lfaoro/flares/master/install.sh | bash

Developers

Go installer: https://golang.org/dl/

go get -u github.com/lfaoro/flares
make install
flares -h

make test

Examples

$ make install
$ flares -h

$ flares domain1.tld
;;
;; Domain:     domain1.tld
;; Exported:   2019-06-03 06:31:29
...continued

$ flares --export domain1.tld domain2.tld
BIND table for domain1.tld successfully exported
BIND table for domain2.tld successfully exported
$ ls
domain1.tld domain2.tld

Automation

GitLab CI/CD

Contributing

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