initial commit of file from CVS for e-smith-dynamicdns-yi on Wed 12 Jul 08:53:31 BST 2023

This commit is contained in:
Brian Read
2023-07-12 08:53:31 +01:00
parent 5359f4c755
commit aa3bb95333
9 changed files with 599 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
#!/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"