Hubot will update its DNS name when it changes (or shortly thereafter)
- Set
HUBOT_DNS_NAME
to the domain name you want to point to your hubot instance. - Set
CLOUDFLARE_TOKEN
to your cloudflare token. - Set
CLOUDFLARE_EMAIL
to your cloudflare email assocated with the domain. - Optional, set
USE_CLOUDFLARE_API
to only fetch the current IP via the cloudflare API. Use this when the cloudflare proxy is turned on for the domain.
This module exports two commands, hostname
and ip
, which will respond with the domain name and the host's current ip address respectively.