Skip to content

Instantly share code, notes, and snippets.

@superboum
Last active September 10, 2018 20:46
Show Gist options
  • Save superboum/f1eccd76f6e2bfa1d8e23c1dd973ee34 to your computer and use it in GitHub Desktop.
Save superboum/f1eccd76f6e2bfa1d8e23c1dd973ee34 to your computer and use it in GitHub Desktop.
DDCLIENT
###
# DDCLIENT : https://www.cloudflare.com/technical-resources/#ddclient
###
# /etc/ddclient/ddclient.conf
daemon=600 # check every 600 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes # use ssl-support. Works with
use=web # via web
protocol=cloudflare, \
zone=deuxfleurs.fr, \
server=www.cloudflare.com, \
login=xxx@xxx.xx, \
password=xxxxx \
havelock.machine.deuxfleurs.fr
# /etc/systemd/system/ddclient.service
[Unit]
Description=ddclient for cloudflare service
[Service]
ExecStart=/usr/sbin/ddclient -foreground
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment