PDA

View Full Version : [ubuntu] Dynamic DNS Script


trentscott4
June 6th, 2009, 08:17 PM
I'm using everyDNS.net for my domain and saw they have a Perl script that will update their records with your current IP. Does anyone know how I would set this up using Webmin on Ubuntu Server 9.04?

I've read I need to install the 'libmime-perl' package -- what should I do from there? Can I schedule a cronjob to run the script or is there a better way?

Thanks!

puppywhacker
June 7th, 2009, 05:08 AM
I don't think you can do that from webmin, or I missed a whole evolution...

To install the libmime-perl packet you can run this from a terminal
sudo apt-get install libmime-perl

I uesd the ddclient program to update the dns records as soon as my ip-address changes, you can run it as a daemon so that it monitors the interface periodically and doesn't need cron to do so
sudo apt-get install ddclient

trentscott4
June 7th, 2009, 02:16 PM
Thanks! Do you know if ddclient is compatible with everyDNS?

puppywhacker
June 7th, 2009, 02:25 PM
yes it is compatible with at least

www.dyndns.com
www.easydns.com
www.dslreports.com
www.zoneedit.com