In my unit test, I use commons httpclient to request a incorrect remote web site, and the max timeout is:
@Test(timeout = 10000) public void should_not_be_ac
You can control Java's DNS timeouts via the timeout properties described here:
com.example.jndi.dns.timeout.initial com.example.jndi.dns.timeout.retries