Koozali.org: home of the SME Server

dyndns problem

italo

dyndns problem
« on: November 16, 2005, 11:14:26 PM »
Hi,

A few days back I switched my dns service to dyndns.org hoping to use the built in dns function in SME Server 6 with my own domain. Unfortunately dyndns seems not to update.

I run the set up over at dyndns.org to update the dynamic IP the first time, but as soon as the IP changes (quite often) I lose the domain resolution. And the same is true after a few attempts.

Doing /sbin/e-smith/config show DynDNS
tells me that the status is online, still it doesn't resolve.

Doing ps aux
doesn't show a dyndns service running

What else can I try?

Italo

Offline raem

  • *
  • 3,972
  • +4/-0
Re: dyndns problem
« Reply #1 on: November 17, 2005, 03:00:58 AM »
italo

Did you login as admin and re-run the Configure this server menu, and setup the dyndns details ?

Read the manual (see Documentation link here), I'm sure it is all there.
...

italo

dyndns problem
« Reply #2 on: November 17, 2005, 09:07:28 AM »
Hi Ray,

Thanks! Yes, I did that, and I also tried to look into some of the dyndns script (I am not at home now, and I don't remember which ones from the top of my head...getting old :-P )

I am not sure into which /var/log/ I should look into to see if there is anything strange there.

I doubt it, but can it have something to do with the fact the I want it to update my own domain zerouno.info instead that the usual mydomain.dyndns.com? The primary domain of the server is zerouno.info correctly, so it should update that anyway. And I did pay the money to dyndns.com to use my own domain, so that setup should be correct too. I also looked at the sourceforge.net forum about the original script just in case I could find some tips there, but I realized that the script in SME Server is customized, therefore hard to get help from there.

I believe the error is in the script that SME is using, but at the same time many others use it with no problem whatsoever. I am lost!

Any other ideas?

Offline raem

  • *
  • 3,972
  • +4/-0
dyndns problem
« Reply #3 on: November 17, 2005, 10:05:48 AM »
italo

> I want it to update my own domain zerouno.info
> instead that the usual mydomain.dyndns.com?

As I understand it, the feature in sme is for updating a dyndns domain.

Search the forums, there were some recent posts about using ddclient that may help.
...

tbcomputing

dyndns problem
« Reply #4 on: November 17, 2005, 11:15:39 AM »
If you are using the custom dyndns service you have to edit the dyndns script and change it to read service=custom

Mine works fine all the time

HTH

Tony

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
dyndns problem
« Reply #5 on: November 17, 2005, 01:16:48 PM »
Quote from: "tbcomputing"
If you are using the custom dyndns service you have to edit the dyndns script and change it to read service=custom


e-smith-dynamicdns-dyndns.org-1.4.0-02, available from any e-smith/Mitel mirror, should do service=custom automatically if dyndns.org service is selected, but the primary domain name does not match *.dyndns.org.

tbcomputing

dyndns problem
« Reply #6 on: November 17, 2005, 01:26:28 PM »
Thanks for that Charlie I wasn't aware of it but SME works just fine as it is after editing for me.

I will check the version I am using.

Tony

italo

dyndns problem
« Reply #7 on: November 17, 2005, 08:00:04 PM »
Hi, finally home so that I can try

## /sbin/e-smith/config show  DynDNS
DynDNS=service
    Account=MyAccount
    Password=MyPassword
    Service=dyndns.org
    status=enabled
 
So service stays dyndns.org instead of custom

should I change this script?
/sbin/e-smith/dynamic-dns/dyndns.org

tbcomputing

dyndns problem
« Reply #8 on: November 17, 2005, 08:38:16 PM »
You should check your version as per Charlies post if your version is prior to the one he lists you need to editr the script if you have the custom service.

Tony

italo

dyndns problem
« Reply #9 on: November 17, 2005, 10:14:31 PM »
Hi Tony,

I downloaded the file suggested by Charlie, and rubuilt the rpm from that, and then installed it with -Uvh over the old (I had 1.4.0-01 version).

/sbin/e-smith/config show DynDNS
still tells me Service=dyndns.org

Is there a script I am missing to modify?

italo

dyndns problem
« Reply #10 on: November 17, 2005, 10:24:56 PM »
Hi Tony,

Bear with me...I should probably ask you bluntly. When you say modify the dyndns script you mean this
/sbin/e-smith/dynamic-dns/dyndns ?

Then what part of the script do I need to modify to get the Service=custom? Change from &domain = "dyndns.com" to &domain = "mydomain"?

Offline raem

  • *
  • 3,972
  • +4/-0
dyndns problem
« Reply #11 on: November 18, 2005, 12:23:04 AM »
Charlie wrote:
> e-smith-dynamicdns-dyndns.org-1.4.0-02, available > from any e-smith/Mitel mirror

You can get it from here:
ftp://ftp.ibiblio.org/pub/linux/distributions/e-smith/devel/repo/RPMS/
...

italo

dyndns problem
« Reply #12 on: November 18, 2005, 07:57:31 AM »
Hi Ray,

I rebuilt the rpm from the source rpm. So I got the same file as the one you link to. I am still stranded though!
I am sure I am missing a stupid detail (which I will laugh at later), but for the life of me I cannot figure out which.

Offline funkusmunkus

  • *
  • 220
  • +0/-0
dyndns problem
« Reply #13 on: November 18, 2005, 08:44:29 AM »
Is the SME connected to a router or a modem??
if a router is making your connection the SME server won't know if your external IP address changed.

That may have been over looked :-)

cheers
.........

italo

dyndns problem
« Reply #14 on: November 18, 2005, 11:05:00 AM »
No! the server is a dedicated gateway-server setup and is directly connencted.