Skip to content

A simple program to update the IP of routes registered in Cloudflare with your current public IP

License

Notifications You must be signed in to change notification settings

margual56/update-cloudflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare updater

The purpose of this program is to automatically update the IP of a list of Cloudflare records to your current public IP

Usage

Usage: update-cloudflare [OPTIONS] --email <EMAIL> --key <KEY>

Options:
  -l, --list               Lists all records associated with you account and exits
  -r, --records <RECORDS>  List of records (subdomains) to update with your current public IP
  -e, --email <EMAIL>      Email for account admin [env: CLOUDFLARE_EMAIL=]
  -k, --key <KEY>          Global API key [env: CLOUDFLARE_KEY=]
  -h, --help               Print help
  -V, --version            Print version

You can export (export CLOUDFLARE_EMAIL=<your_email>) the email and key so that you don't have to input them every time.

Remember you can use crontab.guru to assist you in scheduling the run

About

A simple program to update the IP of routes registered in Cloudflare with your current public IP

Topics

Resources

License

Stars

Watchers

Forks

Languages