Koozali.org: home of the SME Server

DYNDNS.ORG and ADSL SPEED TOUCH PRO

Arthur

DYNDNS.ORG and ADSL SPEED TOUCH PRO
« on: May 15, 2002, 01:57:27 AM »
Hi

I spent a lot of time to set up my SME with the ADSL!

First I had the problem that you couldn't reach the SME behind the router from the internet. Finally I solved the problem with some NAT entries. This works now.

Now I have the problem, that my ISP each day changes the IP of the ADSL router. Therefore I set up a dyndns.org account like "mydomain.com"
Also my SME is set to this domain "mydomain.com" and I have also activated the automatic-IP-update-function to dyndns.org with the right username and password.
The problem is, that the SME doesn't update the IP address on dyndns.org!

After hours of hard work I found out the following:
/var/log/messages
May 14 20:22:21 firewall dyndns.org: "mydomain.com" does not exist on the dyndns.org system.

Any advice strongly appreciated!

Arthur

Aaron

Re: DYNDNS.ORG and ADSL SPEED TOUCH PRO
« Reply #1 on: May 15, 2002, 04:52:50 AM »
This may be your lucky day, I just fixed the same (or very similar) problem over the weekend, albeit for dialup.

The client has an e-smith domain name of xyz.ca but a dyndns name of xyz.dyndns.org. In the messages log the error/problem is that that the two appear to be combined when attempting to sync (ie: trying for xyz.ca.dyndns.org).

Anyway, here's what I did it get it to work:

Find the /etc/e-smith/events/ip-change/S85update-dns file.
In there is a line:
my $domain  = db_get(\%conf, 'DomainName');
which fetches your e-smith's domain name (in our case the xyz.ca)
I commented that out and added the following hardcoded value:
my $domain  = "xyz.dyndns.org";

Hope that helps, Aaron

Arthur

Re: DYNDNS.ORG and ADSL SPEED TOUCH PRO
« Reply #2 on: May 16, 2002, 02:14:05 PM »
Hi
Thank you very much for you help!

I did actually work! I don't get this boring error message anymore!

The problem I now have is the following!

My E-SMITH has the following IPs:
LAN: 192.168.*.*
OUTSIDE (to ADSL ROUTER) 10.0.0.1

ADSL-ROUTER:
TO E-SMITH: 10.0.0.138
TO INTERNET: ?.?.?.? (this address has to be updated to dyndns.org)

LAN---E-SMITH----ADSL/ROUTER----INTERNET

Unfortunately the ADSL ROUTER becomes the official IP-ADDRESS an not my E-SMITH!
Therefore my E-SMITH updates the IP-ADRESS 10.0.0.1 to DYNDNS.ORG instead of the ADSL-ROUTER-IP-ADRESS

Any help strongly appreciated!
Arthur

Aaron

Re: DYNDNS.ORG and ADSL SPEED TOUCH PRO
« Reply #3 on: May 16, 2002, 10:03:10 PM »
I understand the E-Smith DynDNS feature expects you to be running the e-smith with a dual network interface, as a router. Therefore the external interface, a serial connection to a dialup modem or 2nd  NIC connected to the adsl modem, would be assigned the tumbling IP from your ISP and the e-smith dyndns update would occur upon IP change.

Unless I am missing something, if you have a combination modem/router then certainly that would be picking up your given IP and the e-smith dyndns should be turned off as I dont see how it can help you.

I have clients that have a similar setup (xDSL modem feeding into a LinkSys firewall/router) and they just use a Windows DNYDNS update client on one of their workstations to keep the DynDNS uptodate.