cloudflare-ddns-cli
A CLI wrapper around cloudflare-ddns-sync for updating to IP on CloudFlare.
This project is not developed or supported by either the above project or CloudFlare in anyway.
You will need to set the following environmental varibles:
-
CLOUDFLARE_EMAIL
- The email address of your Cloudflare account -
CLOUDFLARE_TOKEN
- The API token from your Cloudflare account -
CLOUDFLARE_HOST
- The hostname. Can contain a subdomain, but will fail if more then 2 total periods.
Installing:
-
sudo npm i -g cloudflare-ddns-cli
ornpx cloudflare-ddns.cli
if you have npx installed.
Running:
cf-update