Hello list Have you ever considered the problem reported here: https://stackoverflow.com/questions/14603553/dns-query-freezes-with-dnscontextfactory-in-java A DNS query gets stuck easily if read timeout is not set on the socket. The proposed solution is trivial. -- Milan Mimica