Koozali.org: home of the SME Server

Custom Dymanic DNS

Rob A.

Custom Dymanic DNS
« on: September 12, 2001, 10:30:34 PM »
Can someone identify the Dynamic DNS client that is bundled with e-smith?  

I want to customize to work with a non-preconfigured Dynamic DNS provider (dyn.ca who use GNUDip).  Their docs indicate that supported clients are:
ez-ipupdate or a perl script that they provide.

What is the client the e-smith installs?
Ive read through the  dns2go mini how-to...Are there any other references?

Thanks,
Rob A.

Dan Brown

Re: Custom Dymanic DNS
« Reply #1 on: September 12, 2001, 10:37:46 PM »
The dynamic dns client is a shell script (actually, a group of them) in /sbin/e-smith/dynamic-dns.  I guess the perl script could be installed in place of the custom script, but I'm not sure how well that would work.

Rob A.

Re: Custom Dymanic DNS
« Reply #2 on: September 12, 2001, 10:50:34 PM »
Thanks for the quick reply Dan -

I don't have access to an installed, running e-smith box.  Can someone tar up the directory contents and post somewhere?

TIA.

Dan Brown

Re: Custom Dymanic DNS
« Reply #3 on: September 12, 2001, 10:58:17 PM »
[dan@e-smith dynamic-dns]$ cat custom
#!/bin/sh
# Description: Put your description here

#------------------------------------------------------------
# Custom dynamic DNS update handler.
#------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

#------------------------------------------------------------
# Your handler starts here.
#------------------------------------------------------------

# fill this in...

#------------------------------------------------------------
# Your handler ends here.
#------------------------------------------------------------

exit 0

Charlie Brady

Re: Custom Dymanic DNS
« Reply #4 on: September 14, 2001, 01:52:56 AM »
Dan Brown wrote:

> The dynamic dns client is a shell script (actually, a group
> of them) in /sbin/e-smith/dynamic-dns.  I guess the perl
> script could be installed in place of the custom script, but
> I'm not sure how well that would work.

perl is fine. No problem whatsoever.

Charlie

Dan Brown

Re: Custom Dymanic DNS
« Reply #5 on: September 14, 2001, 02:03:36 AM »
My only concern with the perl was dealing with the arguments being passed on the command line.  I'm sure it's possible in perl; I just don't have any idea how to do it.

jules

Re: Custom Dymanic DNS
« Reply #6 on: October 25, 2001, 06:59:12 AM »
anyone want to spell the "custom dynamic dns config" process/theory out a little more for a newbie?  like Rob A., i'd like to use dyn.ca (GNUDip based); they provide a command line perl file as a linux client. do i just put the body of that file in Dan Brown's script, & replace the shell scripts in in /sbin/e-smith/dynamic-dns?  anyone had any success here?

Rob Antonishen

Re: Custom Dymanic DNS
« Reply #7 on: October 26, 2001, 05:13:06 AM »
I've ended up putting my e-smith behind a smoothwall (linux) firewall
(www.smoothwall.org) in the DMZ zone, so I'm doing the dyn.ca
updates with the firewall box, and e-smith set up as server only.

Rob A.