@phil-r/cloudflare-ddns

1.0.3 • Public • Published

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:

CF_EMAIL=john@example.com \
CF_KEY=11116x635034x27x111170006x465f1111xxxa \
ZONE=example.com \
SUBDOMAIN=www \
PROXIED=false \
cloudflare-ddns

Package Sidebar

Install

npm i @phil-r/cloudflare-ddns

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

12 kB

Total Files

9

Last publish

Collaborators

  • phil-r