modulepackage
0.0.0-20220813110410-821344726785
Repository: https://github.com/darren/cfddns.git
Documentation: pkg.go.dev
# README
cfddns: a simple ddns update agent for cloudflare
Build
go build -o cfddns ./cmd/cfddns
Usage
Get CF_API_KEY or CF_API_TOKEN from Cloudflare:
https://support.cloudflare.com/hc/en-us/articles/200167836-Managing-API-Tokens-and-Keys
with api key and email
export CF_API_KEY=APIKEY
export [email protected]
cfddns --zone example.com --name www
or use token (email can be omitted)
export CF_API_TOKEN=API_TOKEN_FROM_CF
cfddns --zone example.com --name www
It will run as daemon and check/update ip address every minute
Run cfddns --help
for more options
# Packages
No description provided by the author
# Functions
No description provided by the author
LocalIP get local address.
NewClient create the Client.
Resolve resolves names top ip address.
No description provided by the author