Koozali.org: home of the SME Server

Yi.org not changing IP

luisc

Yi.org not changing IP
« on: September 17, 2004, 05:24:20 AM »
I signed up with yi.org for Domain and Dynamic DNS. I cannot get yi.org to update my IP on SME 6.01-01. I have looked through the Forums and cannot find much info on setting this up. Help Please.

This is the cron message I got:

/etc/cron.weekly/refresh-ddns:

Looking up www.yi.org
www.yi.org
Making HTTP connection to www.yi.org
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Access without authorization denied -- retrying
Retrying with access authorization information.
Looking up www.yi.org
www.yi.org
Making HTTP connection to www.yi.org
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access http://www.yi.org/bin/dyndns.fcgi?ipaddr=68.21.11.166'
Alert!: Unable to access document.

lynx: Can't access startfile

thernes

Yi.org not changing IP
« Reply #1 on: September 17, 2004, 08:14:42 PM »
I am having the exact same problem.... :cry:

thernes

Yi.org not changing IP
« Reply #2 on: September 17, 2004, 08:31:04 PM »
not sure about if this file is the problem as it says Ignore domain parameter since yi.org only manages subdomains of yi.org...

Quote
#!/bin/sh
# Description: www.yi.org (free service)

#------------------------------------------------------------
# Send DNS IP address update to yi.org. Ignore DOMAIN
# parameter since yi.org only manages subdomains of yi.org.
#------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

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

thernes

Yi.org not changing IP
« Reply #3 on: September 17, 2004, 10:07:38 PM »
ok, I got the solution from the owner of yi.org;

Open this file;
/sbin/e-smith/dynamic-dns/yi

change this:
Quote
lynx -source -auth="$USERID:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"


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


Then you can run /etc/e-smith/events/actions/update-dns with no problems.

luisc

Thank you so much
« Reply #4 on: September 18, 2004, 03:51:34 AM »
Thank you so much. I had been trying to figure this out for about 2 weeks. It worked. Thanks again.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Thank you so much
« Reply #5 on: October 03, 2004, 02:09:39 AM »
Quote from: "luisc"
Thank you so much. I had been trying to figure this out for about 2 weeks. It worked. Thanks again.


If only you'd known, you could have grabbed:

RPMS/noarch/e-smith-dynamicdns-yi-1.4.0-02cb.noarch.rpm

from my contribs area, and any e-smith.org mirror site, e.g:

http://ftp.surfnet.nl/ibiblio/distributions/e-smith/contrib/CharlieBrady/

Offline arnoldob

  • *
  • 183
  • +0/-0
Yi.org not changing IP
« Reply #6 on: April 24, 2005, 07:59:17 PM »
I fussed with this for a while then figured out the all I needed to do was put the domain name in the field for the userid during the setup for the dynamic DNS for yi.org and all was well. It was confusing because the dynamic DNS setup for yi.org asks for the userid.
Tampa, FL USA