Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: smallstool on March 04, 2006, 09:43:35 AM

Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 04, 2006, 09:43:35 AM
Looking for a easy way of to implement easyDNS dynamic DNS service on SME server 7.

Any help would be apreciated

 :-D
Title: How to implement easyDNS dynamic DNS service
Post by: christian on March 04, 2006, 06:31:01 PM
Not sure of this is improved on 7.0 but in 6.x you will need to get ez-ipupdate and install it on your sme server.

Then through the "admin" or console interface configure your server to set the dyndns to custom with the relevant username and password. You'll see it in the step by step set up process.

EasyDNS has a tutorial for their end available in their members home page. It also has a link to ez-ipupdate (and other clients).

Hope this gives you a start.
Title: Re: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 04, 2006, 07:30:21 PM
Quote from: "smallstool"
Looking for a easy way of to implement easyDNS dynamic DNS service on SME server 7.


Here's something you could try.

Create a file /sbin/e-smith/dyndamic-dns/easydns (e.g. using pico), containing:

#!/bin/sh
# Description: easydns.com

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

DATETIME=date
lynx -source -auth="$USERID:$PASSWD" \
"https://members.easydns.com/dyn/dyndns.php?system=custom&hostname=$DOMAIN&myip=$IPADDR"

Then make the script executable using:

chmod +x /sbin/e-smith/dyndamic-dns/easydns

The login as admin and go through the configuration option 2 and choose easydns.

The report back how you get on.
Title: How to implement easyDNS dynamic DNS service
Post by: christian on March 04, 2006, 08:20:37 PM
Much nicer. Wish I had that a couple of years ago...
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 04, 2006, 08:39:40 PM
Quote from: "christian"
Much nicer. Wish I had that a couple of years ago...


Perhaps you should have asked for it :-)

The was always a "custom" option, BTW.
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 05, 2006, 06:09:45 PM
Thanks for your replys guys.

I tried Charlie Brady's suggestion first, created file and then ran script and went back to config screen - no easydns option (tried this many times).

I then tried christians suggestion but was unable to install ez-ipupdate on server - no instructions with ez-ipupdate-3.0.11b7-linux-i386.tar.gz.

Thanks for trying guys - I have "fiddled" for hours but my linux knowledge is not very good.

Thanks again :-(
Title: How to implement easyDNS dynamic DNS service
Post by: mike_mattos on March 08, 2006, 06:53:51 PM
SME6 easydns had a problem if you had virtual domains

I used Dynsite on a windows box, allows unlimited hosts to be automatically updated, & way easier to administer

mike
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 08, 2006, 07:34:18 PM
Quote from: "smallstool"

I tried Charlie Brady's suggestion first, created file and then ran script and went back to config screen - no easydns option (tried this many times).


Sorry, my bad. I had planned to have the console autodetect any new scripts dropped in that directory, but that hasn't happened yet.

Copy easydns to custom and choose the custom option.
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 08, 2006, 09:49:44 PM
Hi CharlieBrady

Thanks for the reply - not quite sure what you mean?
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 08, 2006, 10:12:01 PM
Quote from: "smallstool"

Thanks for the reply - not quite sure what you mean?


Which bit wasn't clear?

Copy the "easydns" script which I asked you to create to one called "custom" in the same directory. The use option 2 of the console, and choose "custom" when it asks you about dynamic DNS service provider.
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 08, 2006, 10:15:36 PM
Thanks - will do!
Title: How to implement easyDNS dynamic DNS service
Post by: jfarschman on March 10, 2006, 08:42:05 PM
smallstool,

  Does that work.  If you need a hand let me know.  I use easyDNS and I want to use their dynamic DNS.  Just got a solicitation from a carrier to sell fiber-to-the-home at a nice price... but they won't sell a static IP.

  So I'd be happy to help if you need a hand.
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 16, 2006, 06:04:32 PM
Thanks again for your help guys.

Unfortunateley still not working.

I am having to use a JavaScript client:

http://support.easydns.com/dyn/jsclient.php

on a windows box to do the job - its a pain, but works.

I'm not clever enough to get anything to work on my SME Server - might switch back to my old IPCop firewall that had it in from the start.

Thanks again

 :-(
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 16, 2006, 06:10:40 PM
Quote from: "smallstool"

Unfortunateley still not working.


Please define more fully what you mean by "not working". Describe exactly what you have done, and what you see. In particular, look in /var/log/messages for feedback from the dyndns script when it runs during startup.
Title: How to implement easyDNS dynamic DNS service
Post by: jfarschman on March 16, 2006, 06:31:16 PM
SmallStool,

  I'm offering to log in and help you troubleshoot this one... because I'm going to have to convert my hom office at the end of the month.  Email me if you need a hand:

  jay@hitechsavvy.com
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 16, 2006, 06:37:43 PM
Quote from: "jfarschman"

  I'm offering to log in and help you troubleshoot this one... because I'm going to have to convert my hom office at the end of the month.


Jay, I'd suggest you also open a New Feature Request in the bug tracker.
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 16, 2006, 08:34:50 PM
CharlieBrady

I did the following:

Created a file /sbin/e-smith/dynamic-dns/easydns, containing:

#!/bin/sh
# Description: easydns.com

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

DATETIME=date
lynx -source -auth="$USERID:$PASSWD" \
"https://members.easydns.com/dyn/dyndns.php?system=custom&hostname=$DOMAIN&myip=$IPADDR"

I then made the script executable using:

chmod +x /sbin/e-smith/dynamic-dns/custom

Then logged in as admin went through the configuration option 2 and chose custom.

There is no mention in my log files about the dyndns (custom) script when it runs during startup.

the /var/log/messages log has no feedback from the dyndns (custom) script when it runs during startup.

Many thanks  :-(
Title: How to implement easyDNS dynamic DNS service
Post by: CharlieBrady on March 16, 2006, 09:09:53 PM
Is your WAN connection static or dynamic? DHCP or pppoe?

What do you see if you type:

/etc/cron.weekly/refresh-ddns

?
Title: How to implement easyDNS dynamic DNS service
Post by: smallstool on March 16, 2006, 09:25:29 PM
CharlieBrady


I get the following:

Looking up members.easydns.com
Making HTTPS connection to members.easydns.com

lynx: Can't access startfile https://members.easydns.com/dyn/dyndns.php?system=custom&hostname=bergsweb.com&myip=82.36.188.200

I have a dynamic connection DHCP