How to automate DynDNS updates

On Linux and other Unices, your DynDNS host can be updated automatically as follows:

  1. Download our jabberdns-update.pl script.
  2. Check whether the Net::Jabber perl module is installed on your system and install it if nessessary (perl -MCPAN -e "install Net::Jabber").
  3. Edit the file to match your login data. Be sure not to use a resource identifier your Jabber client already uses and remember it needs to end in a sharp (#) to update your DynDNS host.
  4. Change permissions to make it executable and to ensure no user except root may read the password (chmod 700 jabberdns-update.pl).
  5. Test whether the script works by executing it (./jabberdns-update.pl).
  6. Install the file in some suitable place (cp jabberdns-update.pl /usr/local/sbin).
  7. Add the script to the device-up script of your dial-in device (i.e. /etc/ppp/ip-up).