@phil-r/cloudflare-ddns
v1.0.3
Published
Small node.js program that allows you to use CloudFlare as a DDNS / DynDNS Provider.
Downloads
5
Readme
cloudflare-ddns
Installation
First, make sure you have node >= 8
and npm
installed.
To install run
npm install -g @phil-r/cloudflare-ddns
Usage
following environment variables are required to run:
CF_KEY
- your cloudflare API key, you can get one here
CF_EMAIL
- your cloudflare account email
ZONE
- domain/website you want to run updates for (e.g. example.com
)
SUBDOMAIN
- subdomain/CNAME you want to run updates for
PROXIED
- whether it should be proxied or not (orange cloud in cloudflare DNS settings)
Example command can look like:
[email protected] \
CF_KEY=11116x635034x27x111170006x465f1111xxxa \
ZONE=example.com \
SUBDOMAIN=www \
PROXIED=false \
cloudflare-ddns