Koozali.org: home of the SME Server

DYNDNS.Org Problems

sm@rt

DYNDNS.Org Problems
« on: March 25, 2002, 01:15:44 PM »
I have just signed up with the free service dyndns.org, and have told the SME setup to use this service and provided my account details [username & password].

But, it appears not to be working!!!!!!!!

I am currently having to manually visit the dyndns,org site and update the ip address myself.

Can anyone help.

sm@rt!

Kelvin

Re: DYNDNS.Org Problems
« Reply #1 on: March 25, 2002, 03:21:12 PM »
Hi,

I've just noticed this myself as I just got a reminder that my dyndns account will be deleted if not updated within 5 days. I wonder why the autoupdate is not working. Must start looking through the logs.

Kelvin

Kelvin

Re: DYNDNS.Org Problems
« Reply #2 on: March 25, 2002, 03:55:00 PM »
Just found out why.

I was trying to associate a dyndns domain name to my gateway server which is already configured using my real domain name.

That's a bummer. I was rather hoping that it would allow that (ie. have a couple of domains actually point to the one server).

Anyone else knows how to accomplish this with a dynamic IP address ?

Kelvin

sm@rt

Re: DYNDNS.Org Problems
« Reply #3 on: March 25, 2002, 08:26:15 PM »
Could this be the problem. ???

I currently have setup the SME with a domain name for internal use with my home network. Does this name have to be the same as the dyndns one i have chosen?

I have not tried this yet, but the setup does not indicate that i need to do this, and i have definetley set it to use dyndns(free) and supplied my account details.

sm@rt!

Mike

Re: DYNDNS.Org Problems
« Reply #4 on: March 26, 2002, 05:15:46 AM »
Are you using the DYNDNS.ORG domain for your dynamic IP or are you trying
to use the advanced dynamic DNS feature offered by DYNDNS.ORG?
If you're using the standard (freebie) DYNDNS.ORG domain then this should not
be a problem because the gateway's built-in script will do the update for you.
However, if you're using the new function that DYNDNS.ORG added a few months
ago that allows you to use your own domain then you have to use the CUSTOM
DNS feature in the gateway because there is a different client that has to be used to update the IP address.
 
Hope this helps,
Mike

Kelvin

Re: DYNDNS.Org Problems
« Reply #5 on: March 26, 2002, 05:29:03 AM »
Hi Mike,

Thanks for your input.

This is the situation on my end.

My proper domain name : myrealdomain.com
My SME server is set to this domain name

I created a DynDNS domain (the free one) called : somename.dyndns.com
I then setup SME to use the dyndns option with my account name and password.

However, when I received notification from DynDNS that my dyndns domain will be deleted soon due to no updates, I checked and found that my IP address have definitely changed and was not updated to DynDNS. Looking through the logs, I found this error message :-

dyndns.org: myrealdomain.com does not exist on the dyndns.org system.

and no IP update was done.

Any ideas ?

Kelvin

Joe McDoaks

Re: DYNDNS.Org Problems
« Reply #6 on: March 26, 2002, 06:00:31 AM »
Your system name must be the same name as your DYNDNS name for the update to be done.

Kelvin

Re: DYNDNS.Org Problems
« Reply #7 on: March 26, 2002, 06:18:10 AM »
That's what I said earlier

Kelvin

Joe McDoaks

Re: DYNDNS.Org Problems
« Reply #8 on: March 26, 2002, 06:27:10 AM »
Sorry, I must have had a brain cramp. I thought you said your system name was realdomain.com. I didn't realize that your system name was somename.dyndns.com. I use somename.dyndns.com and my update works perfectly.

Kelvin

Re: DYNDNS.Org Problems
« Reply #9 on: March 26, 2002, 10:29:29 AM »
Hi Joe,

I was actually referring to a much earlier post but then Mike commented that you could still do it if your SME domain was set differently.

So, the work-around to the problem would probably be as follows :-

1. Setup SME's domain as somename.dyndns.com
2. Create a virtual domain called myrealdomain.com for mail to work

Would there be any repercussions to this ?

Kelvin

Ben Coleman

Re: DYNDNS.Org Problems
« Reply #10 on: March 26, 2002, 04:40:03 PM »
Will dyndns.org be updated if you add somedomain.dyndns.org as a virtual name or does it have to be the SME domain?


Regards,


BC.

Joe McDoaks

Re: DYNDNS.Org Problems
« Reply #11 on: March 26, 2002, 05:05:19 PM »
Kelvin wrote:
>
> Hi Joe,
>
> I was actually referring to a much earlier post but then Mike
> commented that you could still do it if your SME domain was
> set differently.
>
> So, the work-around to the problem would probably be as
> follows :-
>
> 1. Setup SME's domain as somename.dyndns.com
> 2. Create a virtual domain called myrealdomain.com for mail
> to work
>
> Would there be any repercussions to this ?
>
> Kelvin
AFAIK SME will only update your Dynamic DNS account out of the box (somename.dyndns.com). If you want to update a Custom Domain such as myrealdomain.com you must customize the update client yourself. See the following topic from Dan Brown for instructions on how to do this.
http://forums.contribs.org/index.php?topic=2600.msg8799#msg8799

If you want to update a system with somename.dyndns.com and myrealdomain.com you must use a third party solution such as ipcheck.py http://ipcheck.sourceforge.net/. I have been told that this works but have not used this myself.

Hope this helps!

Kelvin

Re: DYNDNS.Org Problems
« Reply #12 on: March 27, 2002, 01:39:54 AM »
Hi Again Joe,

Thanks for your input. I did not fully explain my requirements (because I sorta hijacked the thread started by sm@rt).

My actual domain is my realdomain.com BUT I have no requirement for this domain name to have my IP associated with it as it is hosted by my ISP. However, an easy external access to my server and that is why I set up somename.dyndns.com.

Your suggestion of using ipcheck is useful to know and I will keep it under my hat.

I did soem poking around and found a solution to my requirements. I basically modified the template file  :

/etc/e-smith/events/ip-change/S85update-dns

and changed the line (actually commented it out)

my $domain  = db_get(\%conf, 'DomainName');

to

my $domain  = 'somename.dyndns.com';

I tested it by running

/sbin/e-smith/signal-event ip-change

and watched the messages log file. The line for dyndns.org says Update succeeded.

Apparently, this is working. I will continue to watch this and if this does not have any repercussions then this will be the way I'd use.

Kelvin

Andy MacDonald

Re: DYNDNS.Org Problems
« Reply #13 on: March 28, 2002, 02:24:16 PM »
Kelvin, You LEGEND!!!!

Paedi

Re: DYNDNS.Org Problems
« Reply #14 on: March 29, 2002, 12:22:50 PM »
Hi
I also experienced some problems with the custom DNS service
from dyndns.org. I already adapted the dyndns.org file to reflect
the suggest change by Dan Brown (system=custom\&..) but
it still doesn't update my IP address as I would like to do it.
Well I have to say, that the IP address is being transmitted to
dyndns.org, although I get the following error message in
the /var/log/messages file:

 www dyndns.org: Unknown response . Status was 0

When I log on to dyndns.org and check under custom dns
and then select my domain mydomain.ch I can see the following values:
 
host type: dynamic
 IP in database: 195.186.255.232
 IP address: 213.3.204.156
 
 Where 213.3.204.156 is my current IP address. And
 only if I press "modify host" the current IP address
 gets registered.

Did you experience the same?

I got this response from the dyndns.org staff:

That's how the system is supposed to work.  Clicking on the host brings
you to a form, you have to submit that form for changes in it to take
effect.

I always thought that this process is done automatically. Well automatically
in that way, that a script sends the new IP address to dyndns.org and
registers it without user interaction.

I'll appreciate it if you could help me.

thanks
Patrick

Dean the getting better

Re: DYNDNS.Org Problems
« Reply #15 on: August 01, 2002, 02:50:41 AM »
Paedi I too have changed the script like suggested but I am still getting that same problem - IP not updated and this message in my logs Unknown response . Status was 0

Anyone have any words of advice on this matter?