Hello Charlie.
I have set up a new domain, and signed up with Zoneedit. I used "dynip" with my XP box through my e-smith 5.5 server to attain and send my ip to Zoneedit.com, which worked well, and I was able to log onto my webmail server with no problems (except it's slloooowwww because of my 24k dialup service). Now, what do I need to do to set up a program for e-smith such that it will obtain my "current" ip from the isp and transmit it to Zoneedit?
In your message, you said
"... In the setup routine choose dynamic-dns
> and specify "custom". Put in your login and password.
I a
m using e-smith 5.5 so do I go to the configuration menu for the server or does your statement refer to Zoneedit.com?
> If using < SME6 edit /sbin/e-smith/dynamic-
dns/custom with
> the text listed below, edited with your account info. If you
> are using SME6 you must create the custom file with your
> favorite text editor. Make sure you give it the same rights
> as the other files in that directory.
>
> Output of my 'custom' file:
> ____________________________________________
> #!/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...
> wget -O - --http-user=$USERID --http-passwd=$PASSWD
>
I assume that wherever I see "$USERID" I should use my user id for zoneedit. Does it need to be in quotes? Can I just assign myuserid to $USERID somewhere above? Same for the others, right?
'
http://dynamic.zoneedit.com/auth/dynamic.html?host=my-domain1.com'
> wget -O - --http-user=$USERID --http-passwd=$PASSWD
> '
http://dynamic.zoneedit.com/auth/dynamic.html?host=mydomain2.com'
>
> #------------------------------------------------------------
> # Your handler ends here.
>
>
> #------------------------------------------------------------
>
> exit 0
> ____________________________________--
> end of my file
>
> If you update server domains with different passwords you can
> change $USERID to the actural username.
Thanks, Jim Darrough