dshrenik
asked on
Turn of DNS caching in the Java runtime
Please let me know how I can turn of DNS caching in the Java runtime.
The solution here says that I must do that to be on the safer side:
http://stackoverflow.com/questions/1139547/detect-internet-connection-using-java
Thanks!
The solution here says that I must do that to be on the safer side:
http://stackoverflow.com/questions/1139547/detect-internet-connection-using-java
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I can't find the place where they say thiat in the link, but in fact
you don't need really to worry about it.
Check two websites - one more rare than google - you can't predict all coincidences, so really don't pay attention to that
you don't need really to worry about it.
Check two websites - one more rare than google - you can't predict all coincidences, so really don't pay attention to that
>>Also, can you tell me how I can do this through java code.
System.setProperty("sun.net.inetaddr.ttl", "0");
ASKER
If yes, that's great!
Also, can you tell me how I can do this through java code. Thanks!