Dynamic DNS with a python script

Marcelo de Moraes Serpa celoserpa at gmail.com
Thu Dec 27 12:27:37 EST 2007


Hello list,

I'd like to set up ssh access to my home computer so that I will be able to
access it from work - for this no problem, installing sshd is
straightforward.

The issue here is that I don't have a fixed IP connection at home. Also, I
wouldn't like to use services such as no-ip or similar.

What I thought was of writing a python program that would detect when the
internet network interface was restarted/started for the first time and then
update a DNS record at my DNS server where I would have a subdomain that for
my home machine's host.

However, I have no idea on how I could detect if the network has been
restarted nor how I could update this DNS record. Any suggestion would be
greatly appreciated :)

Thanks in advance,

Marcelo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071227/341ee560/attachment.html>


More information about the Python-list mailing list