Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: David on July 08, 2002, 01:53:09 PM

Title: Zone Edit Dynamic DNS
Post by: David on July 08, 2002, 01:53:09 PM
Has anyone got zone edit dynamic DNS working with 5.1.2.?

I have searched through the old posts and find everything but a clear how-to set it up. As I understand it you select custom add your user name and password for dynamic dns. but where do you add the strings to allow the server to access the dns server?
Title: Re: Zone Edit Dynamic DNS
Post by: Paulvan Dun on July 08, 2002, 02:53:10 PM
Hello David,


I've used zoneedit to connect my assigned ip address (they say it's dynamic but it hasn't changed the last 6 months or so), to my url http://www.verkenners.net.
Could you be more specific for e.g. what is your assigned ip-address or does it change every single day.
Or do you want to know what to setup in zoneedit ?

Regards,


Paul van Dun
Title: Re: Zone Edit Dynamic DNS
Post by: tmp on July 08, 2002, 03:14:51 PM
Yes

I use a perl script that checks if the IP has changed and if it has it then updates zoneedit.
Title: Re: Zone Edit Dynamic DNS
Post by: Paulvan Dun on July 08, 2002, 03:36:25 PM
These are my settings:iew "verkenners.net"
                        IP Addresses:Domain Name   IP Address
                        mail.verkenners.net   212.187.117.85
                         
                        Mail Servers:
                        DomainServer   Rank
                        verkenners.netmail.verkenners.net   0
                         
                        WebForwards:New Domain   Destination
                        verkenners.net   http://212.187.117.85
                        www.verkenners.net   http://212.187.117.85
                        zomerkamp2001.verkenners.net  
                        http://www.van-dun7.myweb.nl
                         
                        MailForwards:
                         
                        WebPark™:
                         
                        Nameservers:
                        ns3.zoneedit.com   209.61.140.1
                        ns4.zoneedit.com   216.98.150.236


I hope this is usefull for you, is http://www.e-smith.net the same as http://www.mitel.com ?


Regards,

Paul van Dun
The Netherlands
Title: Re: Zone Edit Dynamic DNS
Post by: David on July 08, 2002, 05:18:22 PM
Thanks Paulvan and tmp. I use zoneedit and e-smith on several site with fixed IP no problems. I am trying to setup a connection for someone who has signed for an 18 month contract on a service which only offers dynamic ip.
The Telstra connection they have will change IP at least once a day.

My problem is in how to setup e-smith. Tmp if you have zone edit scripts I would like a few details on how these are implemented.

Thanks all for the help.
Title: Re: Zone Edit Dynamic DNS
Post by: Ale on July 08, 2002, 06:40:00 PM
David:
have you used the perl script and configuration settings described in dynamic section of zoneedit?
there is a client perl script to download and a few changes to be made to your box in order to let dns know where is in numbers your box
I have not used it since i got fixed ip but it worked ok
A
Title: Re: Zone Edit Dynamic DNS
Post by: tmp on July 08, 2002, 08:13:22 PM
I have built an RPM to install all of my changes for SME server and zone edit is one of them.

If you can hang on for a few hours I will re do the RPM with just zone edit.

I can then post on my web site for you.
Title: Re: Zone Edit Dynamic DNS
Post by: tmp on July 09, 2002, 02:12:32 AM
if you need the RPM it's here

http://www.drbig.co.uk/sdownload/index.php?catid=24
Title: Re: Zone Edit Dynamic DNS
Post by: David on July 09, 2002, 02:36:38 AM
Thanks Tmp excellent site you have there I'll go try out this rpm and report back.

Thanyou everyone for assistance.
Title: Re: Zone Edit Dynamic DNS
Post by: Des Dougan on July 09, 2002, 08:05:33 AM
You use /sbin/e-smith/dynamic-dns/custom

Mine is like this (domain name edited):

#!/bin/sh
# Description: Put your description here

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

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

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

wget -O - --http-user=$USERID --http-passwd=$PASSWD 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.domainname.com'
wget -O - --http-user=$USERID --http-passwd=$PASSWD 'http://dynamic.zoneedit.com/auth/dynamic.html?host=mail.domainname.com'

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

exit 0

That's it - works really well.


Des Dougan
Title: Re: Zone Edit Dynamic DNS
Post by: Charlie on July 09, 2002, 04:43:09 PM
Sorry for asking such a dumb question but, I assume I replace $2 with my ID, $3 with password, and $4 with my domain name. What do I do with $1?

Also, can I repeat this script for multiple domains? Do I just copy it to lower lines?

Thanks in advance.
Title: Re: Zone Edit Dynamic DNS
Post by: David on July 09, 2002, 06:40:52 PM
Thanks Des. I'm getting less M$ everyday and loving it.
Title: Re: Zone Edit Dynamic DNS
Post by: Des Dougan on July 10, 2002, 07:03:59 AM
You need do nothing - e-smith will fill in the blanks, assuming you configured it to use custom when you set the system up.

You can repeat the script - note I have two hostnames configured, and the concept is the same. It should work as long as the user name and password are the same on the ZoneEdit site.