ddns for linux / unix in a simple cron job

| No Comments
Here is a script to update your dynamic dns for linux / unix...
edit a script:

vi /root/ddns.sh

put in ddns.sh :



chmod 755 ddns.sh

then store your crontab:

crontab -l > /root/crontab.new

edit the /root/crontab.new and add the line:

*/15 * * * * /root/ddns.sh &>/dev/null

then load the new crontab:

crontab /root/crontab.new

Your done! ddns is all ready to go!

Leave a comment