1.0.9 • Published 10 years ago
hubot-cloudflare-ddns v1.0.9
hubot-cloudflare-ddns
Hubot will update its DNS name when it changes (or shortly thereafter)
Setup:
- Set
HUBOT_DNS_NAMEto the domain name you want to point to your hubot instance. - Set
CLOUDFLARE_TOKENto your cloudflare token. - Set
CLOUDFLARE_EMAILto your cloudflare email assocated with the domain. - Optional, set
USE_CLOUDFLARE_APIto only fetch the current IP via the cloudflare API. Use this when the cloudflare proxy is turned on for the domain.
Usage:
This module exports two commands, hostname and ip, which will respond with the domain name and the host's current ip address respectively.