lfaoro / flares Goto Github PK
View Code? Open in Web Editor NEWFlares ๐ฅ is a CloudFlare DNS backup tool
License: BSD 3-Clause "New" or "Revised" License
Flares ๐ฅ is a CloudFlare DNS backup tool
License: BSD 3-Clause "New" or "Revised" License
What would you like?
to install flares directly from the command line using brew install flares
Describe the solution you'd like
brew
folder to the repobrew/flares.rb
manifest that builds flares using the latest tagged versionDescribe alternatives you've considered (if any)
Additional context (if you want)
I have no idea how to submit a CLI app to brew.sh, although would like to learn the process and automate it
It looks like the fix for #9 no longer works. Running flares -a -e
does not fetch all pages and therefore does not fetch all zones. I have a fix for this incoming.
Hello. Your tool is very useful. But i can't understand one thing and need your help.
I want export to files by zones.
When i use docker run with --export -all, i see:
BIND data for domain successfully exported.
But where is files? seems like inside container
I also tried with Go make install. But after this, still: Command 'flares' not found
Is it possible to add export of all account zones?
Due to the number of domains I have now (I think near 400) I've started to see this error now. 300 seconds is quite a long time to run this script (flares).. I'm not sure what options there are now in this case.. any ideas?
I would prefer to use an API token that has only the minimal amount of permissions for this tool (just Zone.DNS) rather than use the API key that has full permission for everything.
@lfaoro do you plan to push a new release with the 2 fixes that were merged a few months ago? I use your code, and would like to recommend it to others, but some may struggle to build their own script from your unreleased changes (which are needed for things to work properly).
Thanks for considering.
When executing brew install lfaoro/tap/flares
in MacOS Sonoma 14.2 in MacBook Pro M1 2020
โข100% โ ~/go/bin/flares --key $KEY --email $EMAIL --all --export --debug
62c67f0155e6584b685bad9697e4d2ca domain.one
c4c380fae1e4ddd3c5459d791fed497c domain.two
a6721c2a9fc97dbae7d30a93d0379cce domain.three
0ce6adf7dd7ab158d6f83895723f6885 domain.four
BIND data for domain.four successfully exported
BIND data for domain.four successfully exported
BIND data for domain.four successfully exported
BIND data for domain.four successfully exported
A single file (domain.four
) is created.
Removing the sync.WaitGroup()
from the all
fork here fixes this issue: https://github.com/lfaoro/flares/blob/master/cmd/flares/main.go#L100
โข100% โ ~/go/bin/flares --key $KEY --email $EMAIL --all --export --debug
62c67f0155e6584b685bad9697e4d2ca domain.one
BIND data for domain.one successfully exported
c4c380fae1e4ddd3c5459d791fed497c domain.two
BIND data for domain.two successfully exported
a6721c2a9fc97dbae7d30a93d0379cce domain.three
BIND data for domain.three successfully exported
0ce6adf7dd7ab158d6f83895723f6885 domain.four
BIND data for domain.four successfully exported
All four files are correctly created as well.
Using cobra will make adding new commands and extending existing ones much easier.
What would you like?
Export to s3 bucket
Describe the solution you'd like
It would be great if I could export records to bucket without using awscli
Describe alternatives you've considered (if any)
Additional context (if you want)
What would you like?
when runninng docker run -it --rm -e CF_API_KEY="$CF_API_KEY" -e CF_API_EMAIL="$CF_API_EMAIL" lfaoro/flares --all
it should export all zones and not only 20
Describe the solution you'd like
all zones are exported
Describe alternatives you've considered (if any)
Additional context (if you want)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.