Koozali.org: home of the SME Server

Setting up Dynamic DNS

Joel

Setting up Dynamic DNS
« on: July 04, 2001, 07:09:01 PM »
I already have dynamic dns address which dirtypenguin.darktech.org. What i would like to know is how to setup e-smith to use this dynamic dns provider, as i buit a website around this address and dont want to go around and change all the images and stuff.

Cheers

Dan Brown

Re: Setting up Dynamic DNS
« Reply #1 on: July 04, 2001, 07:24:45 PM »
Really, the best way to do this is to write your own client.  It's pretty straightforward; just model it after the scripts in /sbin/e-smith/dynamic-dns.  The client specs are at http://www.dtdns.com/specs.txt

If you edit /sbin/e-smith/dynamic-dns/custom, and add this line under "Your handler starts here", I think it should work (but this is just a guess based on the specs page):

wget http://www.dtdns.com/api/autodns.cfm?id=$DOMAIN&pw=$PASSWD&ip=$IPADDR

This should be all on one line, and you'd need to set your domain to dirtypenguin.darktech.org in the console configuration.  You'd set the dynamic dns service to "custom", you could use anything for the userid, and the password would be your password.  This script will then be called whenever the IP address of your e-smith box changes.