Using a free domain from changeip.com, wrote a one line script to do the dns updates:
wget "https://www.changeip.com/update.asp?u=$USERNAME&p=$PASSWORD&cmd=update&set=1&offline=0"
Using http didn't work - it was being set to the ISP's proxy IP. Thankfully https worked. Put it in the cron to run hourly.
Soon found that hourly updates were overkill. The ip was changing only once in a week or so. And at similar times - 2 pm Joberg or something like that. So, updates only at times important for me.
ReplyDelete