16 lines
482 B
Bash
16 lines
482 B
Bash
#!/bin/sh
|
|
# Description: www.tzo.com (commercial service)
|
|
|
|
#------------------------------------------------------------
|
|
# Send DNS IP address update to tzo.com.
|
|
#------------------------------------------------------------
|
|
|
|
IPADDR=$1
|
|
USERID=$2
|
|
PASSWD=$3
|
|
DOMAIN=$4
|
|
|
|
DATETIME=`date`
|
|
lynx -source "http://rh.tzo.com/webclient/rhsignedon.html?TZOName=$DOMAIN&Email=$USERID&TZOKey=$PASSWD&IPAddress=$IPADDR&B1=Sign+On+to+TZO+DDNS+Servers" |\
|
|
sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"
|