x
all questions login
General DNS & Domains Dyn Email Update Clients Dyn Developer

After a lot of problems and hours of analyze we have recognized a bad error in DynDNS. Lets start with a domain "mydomain.dyndns.org". We have a router that send its ip-address regulary to http://dyndns.org. We can track this in the update host log. All is fine.

Now we go to an other PC on an other place, we call it "outside-PC". This outside-PC gets a different ip-address from the provider as expected. We just sign into http://dyndns.org, we do nothing else, only sing in.

But http://dyndns.org changes the ip-address of http://mydomain.dyndns.org to the ip-address of the outside-PC that did the sign in. To make it clear: we do not use the function to set the ip-address! After this login http://mydomain.dyndns.org is unreachable due to the wrong ip-address.

The second error case is much worse. We wondered why we always get the ip-address of the PC that issued the nslookup command and never the current ip-address of http://mydomain.dyndns.org. Now we know why.

If you call on an outside-PC the winsock function like "gethostbyname" to retrieve the current ip-address of the router, dyndns replaces the current ip-address of http://mydomain.dyndns.org with the ip-address of the outside-PC and returns this ip-address as current ip-address of the domain. After this call http://mydomain.dyndns.org is unreachable due to the wrong ip-address.

more ▼

asked Sep 27 at 09:10 AM

kontext-zer\'s gravatar image

kontext-zer
-14 3

10|600 characters needed characters left

3 answers:

The only way that can happen is if you have an update client installed on outside-PC. Simply doing lookup cannot cause this to happen.


wsock32: gethostbyname("mydomain.dyndns.org") -> change of the current ip-address

http: sign in to the account "mydomain.dyndns.org" -> change of the current ip-address

I guess that I can destroy the current ip-address of every dyndns-domain by using wsock32: gethostbyname("mydomain.dyndns.org").

I appreciate that seems to be what you're seeing, but it isn't the case. I regularly sign in to my account from outside of my home network but nothing is updated. Doing a lookup of my hostname from other locations doesn't change the IP address either.

There are only 2 ways of changing the IP address, as it is recorded at DynDNS:

  1. Log in to the web site and manually update the account
  2. Run an update client, which uses the update API

The behaviour you are seeing can only be caused by one of those. If it was what you think you're seeing then a massive number of people would be reporting the same problem.

more ▼

answered Sep 27 at 10:12 AM

Cry Havok\'s gravatar image

Cry Havok ♦
52k 13 26 222

10|600 characters needed characters left

I guess that I can destroy the current ip-address of every dyndns-domain by using wsock32: gethostbyname("mydomain.dyndns.org").

Fine, try with mine: rotblitz-test.dyndns.org. It currently points to 127.0.0.127, as everybody can easily see. Let's see if you can convince me by changing it...


Edit:
I'm seeing my hostname still pointing to the same IP address after six days. I knew you couldn't change it, no way...

more ▼

answered Sep 27 at 08:11 PM

RotBlitz\'s gravatar image

RotBlitz ♦
27.9k 4 14 94

10|600 characters needed characters left

No, we have not installed an update client on outside-PC. Our test results on the outside-PC are:

nslookup http://mydomain.dyndns.org -> no change of the current ip-address

ping http://mydomain.dyndns.org -> no change of the current ip-address

php: gethostbyname("mydomain.dyndns.org") -> no change of the current ip-address

wsock32: gethostbyname("mydomain.dyndns.org") -> change of the current ip-address

http: sign in to the account "mydomain.dyndns.org" -> change of the current ip-address

I guess that I can destroy the current ip-address of every dyndns-domain by using wsock32: gethostbyname("mydomain.dyndns.org").

more ▼

answered Sep 27 at 11:45 AM

kontext-zer\'s gravatar image

kontext-zer
-14 3

10|600 characters needed characters left
Your answer
osqa.question.ask.tags.preview.show

© 1998-2011  Dynamic Network Services Inc.  -  Legal Notices  -  Privacy Policy  -  Contacts     

Powered by Qato