Sign inSign up

lfaoro/flares

By lfaoro

Updated almost 5 years ago

Flares is a CloudFlare DNS table backup tool.

Image
1

10K+

lfaoro/flares repository overview

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 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

Tag summary

Content type

Image

Digest

Size

7.5 MB

Last updated

almost 5 years ago

docker pull lfaoro/flares