CloudFlare DNS backup to BIND files
Project description
Simple tool for backing up your CloudFlare hosted DNS records in format acceptable by BIND (RFC1035)
Installation
pip install cloudflaredns-backup
Usage
get all your CloudFlare zones to console
cf-backup root@example.com 1234567890 # args CF_EMAIL=root@example.com CF_TOKEN=1234567890 cf-backup # env echo "root@example.com:1234567890" > credentials.cfg && cf-backup -c credentials.cfg # config file
get only example.com and example2.com zones (here and other - just args examples. ENV and cred-file are same)
cf-backup root@example.com 1234567890 -z example.com -z example2.com
This example may be simplified as:
cf-backup root@example.com 1234567890 -z "example1.com example2.com"
Get only example.com, create if not exists folder and write zone to ./zones/example.com, and write NS in zone
cf-backup root@example.com 1234567890 -z example.com -o zones --ns ns.example.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cloudflaredns-backup-1.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70eec7f74b55f7ecde12d0cd94e8002941425f8a8b9ae83d9f5a052bcfe3a6ba |
|
MD5 | 143a5fc29ab51b0cf19513212d2f8010 |
|
BLAKE2b-256 | 8947fd179d1a09f323b502a46f7b8143f7a2848dfb67fc5240284805dd431973 |
Close
Hashes for cloudflaredns-backup-1.7.2.macosx-10.11-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c14396e4ee1e4a83b8ab743cf50865a109e30a832b2730e90224942b573dcd2 |
|
MD5 | cc26f9792c567851cda340c82b102f1d |
|
BLAKE2b-256 | cdb2068303735d94785713fb06593d4377fc08868235b529620bbf12978ba7ed |