Koozali.org: home of the SME Server

How to implement easyDNS dynamic DNS service

smallstool

How to implement easyDNS dynamic DNS service
« 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

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
How to implement easyDNS dynamic DNS service
« Reply #1 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.
SME since 2003

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to implement easyDNS dynamic DNS service
« Reply #2 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.

Offline christian

  • *
  • 369
  • +0/-0
    • http://www.szpilfogel.com
How to implement easyDNS dynamic DNS service
« Reply #3 on: March 04, 2006, 08:20:37 PM »
Much nicer. Wish I had that a couple of years ago...
SME since 2003

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to implement easyDNS dynamic DNS service
« Reply #4 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.

smallstool

How to implement easyDNS dynamic DNS service
« Reply #5 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 :-(

Offline mike_mattos

  • *
  • 313
  • +0/-0
How to implement easyDNS dynamic DNS service
« Reply #6 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
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to implement easyDNS dynamic DNS service
« Reply #7 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.

smallstool

How to implement easyDNS dynamic DNS service
« Reply #8 on: March 08, 2006, 09:49:44 PM »
Hi CharlieBrady

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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to implement easyDNS dynamic DNS service
« Reply #9 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.

smallstool

How to implement easyDNS dynamic DNS service
« Reply #10 on: March 08, 2006, 10:15:36 PM »
Thanks - will do!

Offline jfarschman

  • *
  • 406
  • +0/-0
How to implement easyDNS dynamic DNS service
« Reply #11 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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

smallstool

How to implement easyDNS dynamic DNS service
« Reply #12 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

 :-(

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to implement easyDNS dynamic DNS service
« Reply #13 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.

Offline jfarschman

  • *
  • 406
  • +0/-0
How to implement easyDNS dynamic DNS service
« Reply #14 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
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com