May 282008

Sponsored Link

If you are using or for your DNS service so that you can access your server using a URL, then you might have to update your DNS record at the service periodically whenever the IP address of your computer changes.Now here is simple solution for this ddclient.

Update IP addresses at dynamic DNS services.A perl based client to update your dynamic IP address at (or other dynamic DNS services such as Hammernode, Zoneedit or EasyDNS), thus allowing you and others to use a fixed hostname ( to access your machine. This client supports both the dynamic and (near) static services, MX setting, and alternative host. It caches the address, and only attempts the update if the address actually changes.

Install ddclient in Debian

#aptitude install ddclient

This will complete the installation

Configuring ddclient

If you want to reconfigure you seetings use the following command

#dpkg-reconfigure ddclient

You want to make sure it runs as a service and monitors changes in ppp–something that the install wizard doesn’t cover.

Edit the configuration file /etc/ddclient.conf

#vi /etc/ddclient.conf

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

If you can’t find the public IP address, then you can have ddclient check your public IP address from the web by editing /etc/ddclient.conf and making it use the web by saying



use=web,, web-skip=’IP Address’

Save and exit the file

Restart ddclient service using the following command

#/etc/init.d/ddclient restart

Sponsored Link

 Posted by at 9:22 pm

  3 Responses to “Ddclient – Update IP addresses at dynamic DNS service”

  1. Thank you much!

  2. Does this work if you have a router in front of your computer?

  3. If using

    use=web,, web-skip=’IP Address’

    Then ddclent very badly update IP-address
    grep -i ddc /var/log/daemon.log

    WARNING: file /var/cache/ddclient/ddclient.cache, line 3: Invalid
    Value for keyword ‘ip’ =”


    use=web,, web-skip=’Current IP Address: ‘

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>