Koozali.org: home of the SME Server

Failure to update dyndns.org database

Offline kevincallan

  • **
  • 34
  • +0/-0
Failure to update dyndns.org database
« on: January 05, 2005, 05:58:20 PM »
I have an SME 6.0.1 system on a DSL modem.  It works well most of the time.  My only complaint is with the unreliable dynamic DNS mechanism of my system (server/modem).  The server was running and I accessed it via HTTP.  Later that day, I tried access via SSH and received no response.  I called home and asked my daughter to retrieve the IP address.  Usually, this address can be used to manually update the dyndns.org database.  This time was different--it looks like the modem is going to need to be rebooted to fix the problem.  Internet access from the private network functions fine even when the system cannot seem to update its dyndns.org address.

Last time this happened, I checked the log files and noted that the dyndns updating scripted failed to access the dyndns.org website.  Is there an automatic retry or does it just try once per execution?  I have configured the server to cron the update script hourly.  I thought this would minimize the downtime when this situation occurs.  It seems, however, that once in this state, no further update attempts occur.

A snippet of the log file when my daughter rebooted the system:

Jan  4 14:22:32 smithe e-smith[1445]: Connection timed out at /sbin/e-smith/dynamic-dns/dyndns line 56.
Jan  4 14:22:32 smithe e-smith[1445]: S85update-dns=action|Event|ip-change|Action|S85update-dns|Start|1104869954 440320|End|1104870152 850867|Elapsed|198.410547|Status|28160
Jan  4 14:22:32 smithe e-smith[1445]: Running event handler: /etc/e-smith/events/ip-change/S90pptpd-restart

Internet access still worked after rebooting although I could not access the server from outside.

Any ideas?
......

chrisparker

Failure to update dyndns.org database
« Reply #1 on: January 09, 2005, 04:06:33 AM »
The only problems I have had with dynamic updating was after my ISP had an outage. When the link came back up, there was no data flow so the server timed out when trying to update my dyndns address. Apart from that, it has been fine.

tcarroll

failure to update dyndns.org
« Reply #2 on: January 09, 2005, 06:54:59 PM »
I am having the same problem here.  This is a fresh install and I have no idea why this is happening.  I am having to update my IP address manually with dyndns.org.

I was using SME 5.6 a week ago and it worked flawlessly.  I am going to see if I can compare the scripts between the two installs.

dwater

Re: failure to update dyndns.org
« Reply #3 on: May 06, 2005, 03:42:06 AM »
Quote from: "tcarroll"
...I am going to see if I can compare the scripts between the two installs.


Did you find anything?

I'm having trouble with yi.org.

! check that - I found a problem with the /sbin/e-smith/dynamic-dns/yi script. It had 'cgi-bin' in the URL, but it looks like it should be just 'bin' :

Code: [Select]
lynx -source -auth="$DOMAIN:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"

Max.

EDIT:$USER -> $DOMAIN

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: failure to update dyndns.org
« Reply #4 on: May 06, 2005, 04:13:03 AM »
Quote from: "dwater"
Quote from: "tcarroll"
...I am going to see if I can compare the scripts between the two installs.


Did you find anything?

I'm having trouble with yi.org.

! check that - I found a problem with the /sbin/e-smith/dynamic-dns/yi script. It had 'cgi-bin' in the URL, but it looks like it should be just 'bin' :

Code: [Select]
lynx -source -auth="$DOMAIN:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"

Max.


Hmm, so yi have changed it back again.

Let me guess, you have e-smith-dynamicdns-yi-1.4.0-02cb? If so, you need to roll back to e-smith-dynamicdns-yi-1.4.0-01.

dwater

Re: failure to update dyndns.org
« Reply #5 on: May 06, 2005, 04:21:26 AM »
Quote from: "CharlieBrady"

Hmm, so yi have changed it back again.

Let me guess, you have e-smith-dynamicdns-yi-1.4.0-02cb? If so, you need to roll back to e-smith-dynamicdns-yi-1.4.0-01.


Looks that way. I'd only just updated it too...

$ rpm -q e-smith-dynamicdns-yi
e-smith-dynamicdns-yi-1.4.0-02cb

Max.

dwater

Re: failure to update dyndns.org
« Reply #6 on: May 06, 2005, 05:36:19 AM »
Quote from: "CharlieBrady"

Hmm, so yi have changed it back again.


Oops. I made a mistake. It should also be $DOMAIN instead of $USER. Would you mind editing your quote of my post, as I have done to the original post, to avoid misleading anyone?

Thanks.

Max.