# flares **Repository Path**: mirrors_FGRibreau/flares ## Basic Information - **Project Name**: flares - **Description**: Flares 🔥is a CloudFlare DNS backup tool - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![Go Report Card](https://goreportcard.com/badge/github.com/lfaoro/flares)](https://goreportcard.com/report/github.com/lfaoro/flares) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flfaoro%2Fflares.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Flfaoro%2Fflares?ref=badge_shield) ![flaredns_demo](static/flaredns_demo.gif) ## Quick Start - docker (painless) ```bash # CloudFlare auth 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 \ -e CF_API_KEY="$CF_API_KEY" \ -e CF_API_EMAIL="$CF_API_EMAIL" \ lfaoro/flares domain1.tld domain2.tld ``` ## Quick Start - compile (full control) Golang must be installed: https://golang.org/dl/ ```bash # 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 ``` ### Set the CF_API_KEY and CF_API_EMAIL ```bash $ 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 ```bash $ make install $ flaredns -h $ flaredns domain.tld $ flaredns domain.tld --export /tmp/tables ``` # Contributing > Any help and suggestions are very welcome and appreciated. Start by opening an [issue](https://github.com/lfaoro/flares/issues/new). - 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 ## TODO - [x] use https://github.com/spf13/cobra for the CLI interface - [x] add `all` keyword to export all the domains available in the account - [ ] add `auth` command, automatically opens CloudFlare dashboard - [ ] add the flarelogs command ## License [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Flfaoro%2Fflares.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Flfaoro%2Fflares?ref=badge_large)