Detect IP changes
Nagy László Zsolt
nagylzs at freemail.hu
Thu Mar 20 16:23:35 CET 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!
I forgot to mention that you should set COMMON_HOST and COMMON_PORT to
a service near you.
For example, a mail server of your ISP. Any server that can be connected
in a Jiffy.
More information about the Python-list