> I know of the Demo/dns/, but I'm unsure whether it can be > tweaked to allow timeouts. Hm, typically the protocol used is UDP, and it's easy to set timeouts there: just use select on the socket. --Guido van Rossum (home page: http://www.python.org/~guido/)