Ignoring your Python question and backing up to what you are trying to solve: There are services like dyndns.org that will provide DNS services to dynamically map a static host name to a changing IP address. -- Steve Majewski