Skip to content
/ cfddns Public

Lightweight Cloudflare DDNS client written in Go

License

Notifications You must be signed in to change notification settings

derekn/cfddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudflare Dynamic DNS Client

GitHub Release GitHub License

An unofficial lightweight Cloudflare DDNS client written in Go.

Installation

Download from Github releases.
or, install using Go:

go install https://github.com/derekn/cfddns@latest

Usage

# use API token from environment variable (recommended)
export CLOUDFLARE_API_TOKEN=xxxx
cfddns record.domain.tld

# pass token as argument
cfddns --token xxxx record.domain.tld

Arguments

-t, --token string    Cloudflare API token [CLOUDFLARE_API_TOKEN]
-d, --domain string   zone name (default record domain)
    --ip string       IP address (default automatically resolved)
-f, --force           force update (required only for root domain)
-v, --verbose         verbose
-h, --help            display usage help
-V, --version         display version
-u, --upgrade         self-upgrade