Categorygithub.com/SimonStiil/cfdyndns
repositorypackage
0.0.0-20240516111014-b2b381362ab0
Repository: https://github.com/simonstiil/cfdyndns.git
Documentation: pkg.go.dev

# README

Cloudflare DynDNS container

Using:

Download

Docker image can be fetched from ghcr.io simonstiil/cfdyndns
Can be build with go build .
Will also be available as a release in releases in the future

Setup container with Environment variables

OptionDescription
CLOUDFLARE_TOKENAccess token for Cloudflare Account
CLOUDFLARE_ZONEZone id to use for DNS configuration
DYNDNS_NAMEfull DNS name of record to på used
PROMETHEUS_ENABLEDEnable Prometheus endpoint on /metrics
TESTING_ENABLEDEnable testing endpoint on /test (sets new random ip to update to next time)

HTTP Endpoints

endpointDescription
/metricsmetrics endpoint for prometheus
/healthhealth endpoint for self and backend services
/testtesting endpoint. Sets a random ip to update to