Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Rob A. on September 12, 2001, 10:30:34 PM

Title: Custom Dymanic DNS
Post by: Rob A. 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.
Title: Re: Custom Dymanic DNS
Post by: Dan Brown 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.
Title: Re: Custom Dymanic DNS
Post by: Rob A. 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.
Title: Re: Custom Dymanic DNS
Post by: Dan Brown 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
Title: Re: Custom Dymanic DNS
Post by: Charlie Brady 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
Title: Re: Custom Dymanic DNS
Post by: Dan Brown 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.
Title: Re: Custom Dymanic DNS
Post by: jules 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?
Title: Re: Custom Dymanic DNS
Post by: Rob Antonishen 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.