Wednesday 2 January 2013

Rimu Hosting DNS API

Here's the shell script that I'm using on my linux boxes to keep the DNS hosted by Rimu Hosting up to date with any changes to my dynamically allocated IP address from BT.

wget -q -O -  -i rimu-dns-urls.txt  > /dev/null

The idea is to have a text file of URLs each of which updates the DNS for one address.  The list currently looks like this:

I then set up a one-line crontab entry to run this every five minutes:

*/5 * * * * cd ~dave/code/dynadns; ./

No comments: