Koozali.org: home of the SME Server

Dynamic up-dating with zoneedit

fishbowl

Dynamic up-dating with zoneedit
« on: July 15, 2004, 03:54:33 PM »
/etc/e-smith/templates-custom/etc/ppp/ip-up/ du nom : 98Zoneedit

wget -O - --http-user=<USER> --http-passwd=<PASSWD> 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.sme.info' >> /var/log/zonedit.log

wget -O - --http-user=<USER> --http-passwd=<PASSWD> 'http://dynamic.zoneedit.com/auth/dynamic.html?host=sme.info' >> /var/log/zonedit.log

/sbin/e-smith/expand-template /etc/ppp/ip-up

Does not work ! :roll:

I think I missed something...

zoneedit and internic are set correctly I get my web site if I change manualy zoneedit information i.e.


 IP Addresses:
 Domain Name
    IP Address
   
 Sme.info
    81.53.72.202
 
 www.sme.info
    81.53.72.202
 
Used perl script did't work
 
 #!/bin/sh
# Description: Put your description here

#------------------------------------------------------------
# Custom dynamic DNS update handler.
#------------------------------------------------------------

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

#------------------------------------------------------------
# Your handler starts here.
#------------------------------------------------------------

lynx -source -auth="$USERID:$PASSWD"
"http://dynamic.zoneedit.com/auth/dynamic.html?host=$DOMAIN,mail.$DOMAIN&dns
to=$IPADDR"

#------------------------------------------------------------
# Your handler ends here.
#------------------------------------------------------------

Fishbowl :roll:

rickjones

Dynamic up-dating with zoneedit
« Reply #1 on: July 15, 2004, 09:36:11 PM »
I have a script that handles ZE updates - check my sig.