Koozali.org: home of the SME Server

Dynamic DNS on SME 7

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
Dynamic DNS on SME 7
« on: January 09, 2007, 10:00:15 PM »
Hi Folks,

We usually use static IP addresses for our customer networks, so I have rarely dealt with DDNS on SME Servers.  

I just had to revisit the subject (for my home server), so I created a quickie howto.

http://www.sonoracomm.com/index.php?option=com_content&task=view&id=132&Itemid=32

I hope this helps someone...

G

Edited:

I changed the installation command as suggested below as it's better and easier.  (what ELSE is in that smedev repo?!)

This method of using dynamic DNS has a couple of really major advantages over the built-in dyn-DNS feature:

1) it works in server-only or server-gateway mode
2) you can have your SME 7 domain be different than the dynamic DNS domain

Offline del

  • *
  • 765
  • +0/-0
Dynamic DNS on SME 7
« Reply #1 on: January 10, 2007, 01:23:04 AM »
Hi sonoracomm,

Is this for server/gateway and server only modes. Am I right in assuming that it allows for more than one domain per server? I have used the built in one for 5 years in server/gateway mode with no problems, but it only works for the main domain.

Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Dynamic DNS on SME 7
« Reply #2 on: January 10, 2007, 01:38:12 AM »
Can you install with...

Code: [Select]
yum --enablerepo=smedev install sme7-ddclient
Regards,
William

IF I give advise.. It's only if it was me....

mid

Dynamic DNS on SME 7
« Reply #3 on: January 19, 2007, 06:13:46 PM »
Hello,

Quote
The built-in dynamic DNS feature of SME 7 is useless for users of free DDNS services.

Hm? Did I miss anything? I'm for sure working with the free DynDNS service of dyndns.org and SME 7.1, and it's working! Untill you don't want a bunch of dynamic addresses pointing to your server, the built-in DynDNS update script is enough for you.

The only problem, including one workaround plus one suggestion for the bugfix, is described in my bugreport 2314

So for most people there is no need to install the ddclient, hence the howto is futile for them.

Greetings, Mirko

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Dynamic DNS on SME 7
« Reply #4 on: January 19, 2007, 10:09:39 PM »
Quote from: "mid"

Quote
The built-in dynamic DNS feature of SME 7 is useless for users of free DDNS services.

Hm? Did I miss anything? I'm for sure working with the free DynDNS service of dyndns.org and SME 7.1, and it's working! Untill you don't want a bunch of dynamic addresses pointing to your server, the built-in DynDNS update script is enough for you.


There is never any real need for multiple dynamic addresses. One can be dynamic, and the others can be CNAME records referring to the dynamic address.

Offline kingjm

  • ***
  • 55
  • +0/-0
    • www.iking.ca
Dynamic DNS on SME 7
« Reply #5 on: January 25, 2007, 10:00:30 PM »
Quote
One can be dynamic, and the others can be CNAME records referring to the dynamic address.


mail.domain.com cannot be a cname it has to point to an arecord (IP address) on ZoneEdit.com

but this is a great idea

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Dynamic DNS on SME 7
« Reply #6 on: January 25, 2007, 11:19:04 PM »
Quote from: "kingjm"
Quote
One can be dynamic, and the others can be CNAME records referring to the dynamic address.


mail.domain.com cannot be a cname it has to point to an arecord (IP address) on ZoneEdit.com

but this is a great idea


With dyndns.com it can.

A Record   domain.com >> 1.2.3.4
CNAME mail.domain.com >> domain.com
Regards,
William

IF I give advise.. It's only if it was me....

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Dynamic DNS on SME 7
« Reply #7 on: January 26, 2007, 02:24:12 AM »
Quote from: "william_syd"
Quote from: "kingjm"
Quote
One can be dynamic, and the others can be CNAME records referring to the dynamic address.


mail.domain.com cannot be a cname it has to point to an arecord (IP address) on ZoneEdit.com

but this is a great idea


With dyndns.com it can.

A Record   domain.com >> 1.2.3.4
CNAME mail.domain.com >> domain.com


mail.domain.com can be a CNAME, but then mail.domain.com cannot be listed as the MX for domain.com. I think this is what the original poster was intending to say.


Offline kingjm

  • ***
  • 55
  • +0/-0
    • www.iking.ca
record mx
« Reply #9 on: January 27, 2007, 04:00:09 AM »
I have just installed sme7-ddclient and all went well.

Code: [Select]
yum --enablerepo=smedev install sme7-ddclient
thanks for that tid bit

When I try to configure the ddclient tab what is the bottom line for?  "Record MX"

Is this where I should put mail.domain.com?

Offline kingjm

  • ***
  • 55
  • +0/-0
    • www.iking.ca
SIGTERM
« Reply #10 on: January 31, 2007, 05:33:20 AM »
Quote
WARNING:  caught SIGTERM; exiting


I get this error in an email from anonymous@domain.com

Offline rkscscc

  • ***
  • 44
  • +0/-0
    • RKS Computer Solutions
Re: SIGTERM
« Reply #11 on: February 01, 2007, 08:24:24 PM »
Quote from: "kingjm"
Quote
WARNING:  caught SIGTERM; exiting


I get this error in an email from anonymous@domain.com


Have seen this more times than I care to remember on server running DynDNS...  Nothing to worry about I reckon, if it's not broken, don't try and fix it...

Have never lost connection to the server, so I reckon nothing to worry about

Offline kingjm

  • ***
  • 55
  • +0/-0
    • www.iking.ca
SIGTERM
« Reply #12 on: February 01, 2007, 09:19:49 PM »
does is matter if I use zoneedit or is this just a general error.

I don't think that I have seen it today or yesterday. I did just upgrade my system to 7.1 in the mean time.  Maybe that fixed it.

just don't know

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Dynamic DNS on SME 7
« Reply #13 on: February 02, 2007, 12:04:17 AM »
This has nothing to do with zoneedit or any other dns provider.
This has something to do with the server. And if the problem returns post a bug ticket.
"It should just work" if it doesn't report it. Thanks!

Offline pfloor

  • *****
  • 889
  • +1/-0
Dynamic DNS on SME 7
« Reply #14 on: February 02, 2007, 04:11:51 AM »
It is a known issue and already n the bug tracker.

http://bugs.contribs.org/show_bug.cgi?id=2057#c7

If ddclient is re-started for any reason (even a normal reboot), it sends that annoying email.
In life, you must either "Push, Pull or Get out of the way!"