cfddns

command module
v0.0.0-...-3b660ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2019 License: MIT Imports: 6 Imported by: 0

README

cfddns

cfddns is a very simple utility that will automatically update an A record through Cloudflare's API with the current detected external IP address. The following environment variables drive its operation:

  • CLOUDFLARE_EMAIL - email address of your cloudflare account
  • CLOUDFLARE_TOKEN - api token
  • CLOUDFLARE_ZONE - name of the zone to lookup the ID of
  • RECORD - A record to update, will be added to the CLOUDFLARE_ZONE ex. self would set an A record for self.<CLOUDFLARE_ZONE>.
  • INTERVAL - interval to wait between checking external address. defaults to 300s.

Running

A docker image nickethier/cfddns is available on the Docker Hub.

Example:

$> docker run --rm -e CLOUDFLARE_EMAIL -e CLOUDFLARE_TOKEN -e CLOUDFLARE_ZONE=example.com -e RECORD=home nickethier/cfddns

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL