Value Domain DDNSの自動更新

Value Domain にIPアドレスを自動登録する

/usr/local/sbin/ddns.shという名前で作成。(実行属性をセットすること)
(domain) には ドメイン名(password) には DDNS用パスワード。

#!/bin/sh
wget -O - 'http://dyn.value-domain.com/cgi-bin/dyn.fcg?d=(domain)&p=(password)&h=@&i='


/etc/crontabの設定
「時刻の分の桁が45の時、/root/bin/ddns.shを実行

# m h dom mon dow user command
45 * * * * root /root/bin/ddns.sh


参考:
http://nice.kaze.com/linux-webmin08.html
http://eggplant.ddo.jp/www/pukiwiki/index.php?Dynamic%20DNS%28DDNS%29
http://www.geocities.jp/horiuchimasaru/wget.html