Setup repository and install
Create repository:
$ sudo echo "deb http://elkano.org/repos/apt/debian stable main" > /etc/apt/sources.list.d/dyndns.list
Get and install repository key:
$ sudo wget -O - http://elkano.org/elkano.gpg | apt-key add -
Update and install dyndns-client:
$ sudo apt-get update
$ sudo apt-get dyndns-client
Setting up dyndns client
Edit the configuration file in /etc/dyndns.conf:
# API URL
api_url = https://elkano.org/api/v1/
# Email and password of your account
user = user@domain.com
pass = yourpass
# Uuid of the domain you want to monitor
uuid = 5745786c38721a55853cf47e6c37492f
Start service with upstart (Ubuntu/Mint/Xbian):
$ sudo service dyndns-client start
dyndns-client start/running, process 24504
or as systemv style (Debian):
$ sudo /etc/init.d/dyndns-client start
dyndns-client start/running, process 24504
In your syslog should appear something like this every minute:
Aug 25 12:27:22 localhost /dyndns_client.py[24504]: Actual public ip is: --89.195.16.153--
Aug 25 12:27:22 localhost /dyndns_client.py[24504]: Public IP 89.195.16.153 has not changed