Re: no-ip cron script

#47517

xet
Member

I created a cron job which does the following each hour, its not dynamic but works with no-ip, and is based on the zeroshell ddns2 script.

And should work with any dynamic dns services that allows updating via a URL (most do)

change username, password and add your list of hostname(s)

# Bash script: noip-Cron
ls -la /tmp/dyndns0.*
wget -t 3 -w 20 -o “/tmp/dyndns0.err” -O “/tmp/dyndns0.out” “http://:<password@dynupdate.no-ip.com/nic/update?hostname=,,”
ls -la /tmp/dyndns0.*
cat /tmp/dyndns0.out

Enjoy,
Xet