Skip to content

Extendable Cloudflare DDNS Updater written in Golang

Notifications You must be signed in to change notification settings

nickw444/cf-ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare DDNS Updater

Use Cloudflare a DDNS provider with this tool on crontab.

$> ./cf-ddns --help
usage: cf-ddns --cf-email=CF-EMAIL --cf-api-key=CF-API-KEY --cf-zone-id=CF-ZONE-ID [<flags>] <hostnames>...

Cloudflare DynDNS Updater

Flags:
  --help                   Show context-sensitive help (also try --help-long and --help-man).
  --ip-address=IP-ADDRESS  Skip resolving external IP and use provided IP
  --no-verify              Don't verify ssl certificates
  --cf-email=CF-EMAIL      Cloudflare Email
  --cf-api-key=CF-API-KEY  Cloudflare API key
  --cf-zone-id=CF-ZONE-ID  Cloudflare Zone ID

Args:
  <hostnames>  Hostnames to update

Compiling for MIPS (Ubnt Edgerouter Lite)

GOOS=linux GOARCH=mips64 go build -o cf-ddns-mips64