Last active
September 10, 2018 20:46
-
-
Save superboum/f1eccd76f6e2bfa1d8e23c1dd973ee34 to your computer and use it in GitHub Desktop.
DDCLIENT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /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