Tuesday, July 31, 2007

my dynamic dns client

I run linux on my home PC and wanted to access my home machine when ever and where ever , but i don't have a static ip as i have a bsnl data one connection ... so i was looking for options .

initially i wrote a small script that sends me an email periodically every 4 hours or so .And i used to check my mails to know my machine IP . Then thought of using dyndns.

I started exploring that . i have registered an account and installed the recommended ddclient in ubuntu and it was throwing some error like "caught SIGTERM; exiting " .

so started writing a small script for myself . all this script does is runs periodically to check if the ip of my machine has changed and update dyndns.org if there is a change . i have been running this for a month now and had no issues .

it was fun developing it and its simple to use . no complications . hope it will be useful to others .

You can download it from here.