setmyip-cloudflare
v1.0.6
Published
Node client to update DNS entry in Cloudflare
Downloads
10
Readme
cloudflare-ddns
Node client to updates DNS entry in Cloudflare
Install
get clone https://github.com/jhfoo/cloudflare-ddns.git
Usage
npm start <host.domain.name> <cloudflare api token>
API Token Config
Create a token with the following permission:
- Zone -> DNS -> Edit
What it does
- Check if zone is managed by the token.
- Get IP as reported by Cloudflare trace tool.
- Create/ update host.domain.name with IP.
Acknowledgements
Inspired by https://github.com/timothymiller/cloudflare-ddns.