https://ddclient.sourceforge.net/
cp ddclient /usr/sbin/ cp sample-etc_ddclient.conf /etc/ddclient/ddclient.conf vi /etc/ddclient/ddclient.conf -- and change hostnames, logins, and passwords appropriately ## For those using Redhat style rc files and using daemon-mode: cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient ## enable automatic startup when booting /sbin/chkconfig --add ddclient ## start the first time by hand /etc/rc.d/init.d/ddclient start
use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address <中略> login=”ダイナミックDNSのホームページで使用しているuser” password=”ダイナミックDNSのホームページで使用しているpass” <中略> ## ## dyndns.org dynamic addresses ## ## (supports variables: wildcard,mx,backupmx) ## server=members.dyndns.org, \ protocol=dyndns2 \ # your-dynamic-host.dyndns.org 登録しているドメイン名(例.huntsman.dyndns.ws)
/usr/sbin/ddclient -daemon=0 -debug -verbose -noquiet
SUCCESS: updating huntsman.dyndns.ws: good: IP address set to ”現在のIPアドレス”
532 pts/0 00:00:01 ddclient 571 pts/0 00:00:00 ddclient
*/1 * * * * root /usr/sbin/ddclient -daemon=0 -syslog -quiet -force
cron: can't lock /var/run/crond.pid, otherpid may be 187: Resource temporarily unavailable