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
-
Looking for a easy way of to implement easyDNS dynamic DNS service on SME server 7.
Any help would be apreciated
:-D
-
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.
-
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.
-
Much nicer. Wish I had that a couple of years ago...
-
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.
-
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 :-(
-
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
-
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.
-
Hi CharlieBrady
Thanks for the reply - not quite sure what you mean?
-
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.
-
Thanks - will do!
-
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.
-
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
:-(
-
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.
-
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
-
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.
-
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 :-(
-
Is your WAN connection static or dynamic? DHCP or pppoe?
What do you see if you type:
/etc/cron.weekly/refresh-ddns
?
-
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