ddclient
Setup ̀ ddclient`
I installed in mac using homebrew.
Sample configuration file:
/usr/local/opt/ddclient/share/doc/ddclient/sample-etc_ddclient.conf
The default location is to put it in:
/usr/local/etc/ddclient/ddclient.conf
The configuration file for Google domain protocol is:
ssl=yes
use=web
web=checkip.dyndns.org
protocol=googledomains
login='meuidentificador'
password='minhasenha'
word-detective.barriguinhas.fr
ssl=yes
use=web
web=checkip.dyndns.org
protocol=googledomains
login='meuidentificador'
password='minhasenha'
wishes.barriguinhas.fr
Notice that I am updating to DNS entries. The values are stacked and associated to the hostname it founds first.
I had to use the config entries
Because capitu is exposed to the internet via router. The ddclient was not
able to capture the external IP with the default configuration. I've got this
information from this link: https://github.com/ddclient/ddclient/issues/84
The guy used the configuration below:
##
## CloudFlare (www.cloudflare.com)
##
# /etc/ddclient.conf
cache=/var/cache/ddclient/ddclient.cache
pid=/var/run/ddclient.pid
daemon=300
syslog=yes
ssl=yes
protocol=cloudflare
ttl=1
use=web
web=checkip.dyndns.org
usev6=if, if=eth0
login=your@mail.com
password=API KEY
zone=your.domain.de
your.host..de
To execute ddclient with the configuration file, just run
To run it as a daemon, execute the command below
The DNS will be updated every 5 minutes. Don't forget to add this in the startup script!