Koozali.org: home of the SME Server

Zone Edit Dynamic DNS

David

Zone Edit Dynamic DNS
« 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?

Paulvan Dun

Re: Zone Edit Dynamic DNS
« Reply #1 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

tmp

Re: Zone Edit Dynamic DNS
« Reply #2 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.

Paulvan Dun

Re: Zone Edit Dynamic DNS
« Reply #3 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

David

Re: Zone Edit Dynamic DNS
« Reply #4 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.

Ale

Re: Zone Edit Dynamic DNS
« Reply #5 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

tmp

Re: Zone Edit Dynamic DNS
« Reply #6 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.

tmp

Re: Zone Edit Dynamic DNS
« Reply #7 on: July 09, 2002, 02:12:32 AM »

David

Re: Zone Edit Dynamic DNS
« Reply #8 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.

Des Dougan

Re: Zone Edit Dynamic DNS
« Reply #9 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

Charlie

Re: Zone Edit Dynamic DNS
« Reply #10 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.

David

Re: Zone Edit Dynamic DNS
« Reply #11 on: July 09, 2002, 06:40:52 PM »
Thanks Des. I'm getting less M$ everyday and loving it.

Des Dougan

Re: Zone Edit Dynamic DNS
« Reply #12 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.