Bosse_B
Posts: 981
Joined: Thu Jan 30, 2014 9:53 am

Dynamic DNS update configuration problems

Thu Dec 04, 2014 9:26 pm

I am using the ddclient dynamic dns update program on my Raspberry Pi.
The problem is that it has stopped working (my dynamic dns, that is) and now I am suspecting that the service provider dnsdynamic.org has blocked me because of update calls being done too often.

So I would like to know how to configure ddclient such that it only sends an update request if the ip reported from DNS differs from the actual IP read from the network.
My /ets/ddclient.conf file looks like this:

Code: Select all

# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf

daemon=600
mail-failure=<my mail address>
protocol=dyndns2
#use=if, if=eth0
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
server=www.dnsdynamic.org
login=<my username>
password='<my password>'
<mydomain>.dnsdynamic.com
As far as I understand the daemon=600 setting causes an update every 10 minutes, or 240 times a day...
How could I do to make it send an update only if the external address (received from checkip.dyndns.com) differs from the DNS lookup?
Bo Berglund
Sweden

Return to “Troubleshooting”