Detect IP changes

Harald Schneider h_schneider at marketmix.com
Thu Mar 20 09:35:18 EST 2003


Is there a reliable way to detect the change of a dynamic IP address ?
If I use socket.gethostbyname('my_dynip_name') I still get the old IP, even
thougt my system's DNS has been refreshed with the new name-address binding
...
A solution should be platform independent.

Thanks for your answers!

All the best,
Harald






More information about the Python-list mailing list