Blog

DynDNS Lite!

Mar 3, 2010
Category:Linux Bash 

As my IP address changes so rarely, my Dynamic DNS accounts keep expiring before the IP changes!

Here is a cron line to download my ip address from whatismyip.org and then upload it via ssh to a file on a server every hour!

00 * * * * curl whatismyip.org 2>/dev/null | ssh user@server.tld "cat >ip.txt"

Comments

Your Name:
Your Email:
Comment Title:
Notify me of comments to this post.
 
This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)