Set up ddclient

This commit is contained in:
Colin Hebert
2022-12-26 17:42:47 +01:00
parent b2dd767cfd
commit 64aa9b99e1
7 changed files with 102 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
pid=/var/run/ddclient/ddclient.pid # record PID in file.
ssl=yes # use ssl-support. Works with
# ssl-library
postscript=/data/postscript_gotify.sh # run script after updating. The
# new IP is added as argument.
usev4=webv4
##
## CloudFlare (www.cloudflare.com)
##
protocol=cloudflare, \
zone=dedicated.contact, \
ttl=1, \
login=token, \
password=$CLOUDFLARE_TOKEN \
$CLOUDFLARE_DOMAIN