Skip to main content

CloudFlare DNS backup to BIND files

Project description

https://img.shields.io/pypi/v/cloudflaredns-backup.svg?style=flat-square https://img.shields.io/pypi/dm/cloudflaredns-backup.svg?style=flat-square

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

    cf-backup root@example.com 1234567890 -z example.com -o zones

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudflaredns-backup-1.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file cloudflaredns-backup-1.6.tar.gz.

File metadata

File hashes

Hashes for cloudflaredns-backup-1.6.tar.gz
Algorithm Hash digest
SHA256 8a44c601d37fcb00e51901cbf9881c65eb4f29c046c4bf0f8a71a9d8448da6eb
MD5 5b064244e5f04b6fef87bee4479d74fc
BLAKE2b-256 d13b3c5e5e67998567284b0362aba34f1879c69f0be034d7fad3ff719a9f378a

See more details on using hashes here.

File details

Details for the file cloudflaredns-backup-1.6.macosx-10.11-x86_64.tar.gz.

File metadata

File hashes

Hashes for cloudflaredns-backup-1.6.macosx-10.11-x86_64.tar.gz
Algorithm Hash digest
SHA256 f4a9e603846e3d971ff4c34343c1a87c16ac155646f357d614b1c542cd0e4573
MD5 4eb6d1b914f15618ac438102844754e3
BLAKE2b-256 9d580891e5dc2fa3ab468d3206577e6189af4e88415bf1ef5edde1baa6f288a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page