Originally posted by BuddahBobb
dns update doesnt work as of yet
i go to dynamicdns.org and manually set it when i want my ftp up
oh well :-\
#!/bin/sh
# this script will update your external IP address to Dynu.com
# tested on Mac OS X 10.2.2
FIRST="com"
SECOND="domain"
PASSWORD="password"
ip=`wget -q -O /dev/stdout [url]http://checkip.dyndns.org/[/url] | grep 'Current IP Address: ' | awk ' { print $4 } '`
URL="http://premiumupdate.dynu.com/premium/update.asp?first=$FIRST&second=$SECOND&password=$PASSWORD"
echo "Dynu.com IP Updater for Mac OS X"
# prints current IP to shell
echo $ip
#log it
date >> /var/log/dynu.log
echo $ip >> /var/log/dynu.log
lynx -dump -accept_all_cookies $URL
Originally posted by hazmat
BuddahBobb: I emailed Julien, who wrote DNS Update, asking if it worked in 10.2, and just heard from him this morning:
"Yes and no... I have no problem with it but some have. I will try to release a new version next week that I hope will fix almost all
problems."
#!/bin/sh
# this script will update your external IP address to Dynu.com
# tested on Mac OS X 10.2.2
FIRST="com"
SECOND="domain"
PASSWORD="password"
ip=`wget -q -O /dev/stdout [url]http://checkip.dyndns.org/[/url] | grep 'Current IP Address: ' | awk ' { print $4 } '`
URL="http://premiumupdate.dynu.com/premium/update.asp?first=$FIRST&second=$SECOND&password=$PASSWORD&ip_address=$IP"
echo "Dynu.com IP Updater for Mac OS X"
# prints current IP to shell
echo $ip
#log it
date >> /var/log/dynu.log
echo $ip >> /var/log/dynu.log
lynx -dump -accept_all_cookies $URL