How to automate DynDNS updates
On Linux and other Unices, your DynDNS host can be updated automatically as follows:
- Download our jabberdns-update.pl script.
- Check whether the Net::Jabber perl module is installed on your system and install it if nessessary (perl -MCPAN -e "install Net::Jabber").
- 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.
- Change permissions to make it executable and to ensure no user except root may read the password (chmod 700 jabberdns-update.pl).
- Test whether the script works by executing it (./jabberdns-update.pl).
- Install the file in some suitable place (cp jabberdns-update.pl /usr/local/sbin).
- Add the script to the device-up script of your dial-in device (i.e. /etc/ppp/ip-up).