secopsbot / cfdns

Cloudflare Tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cfdns

Basic grab ip and update specfic cloudflare record for use as a dynamic ip updater.

Usage

node cfdns.js

Requirements

  • NodeJS v8.x

Installation (Raspian)

Install Node Repo

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

Install NodeJS

sudo apt-get install -y nodejs

Clone repo

git clone
https://github.com/secopsbot/cfdns

Install required modules

cd /path/to/cfdns

npm install

CronJob Example

*/5 * * * * /usr/bin/node /home/secopsbot/cfdns/cfdns.js

About

Cloudflare Tools

License:GNU General Public License v2.0


Languages

Language:JavaScript 100.0%