Currently I am working on an Android
project. I have a doubt regrading java level DNS caching. Through search, I came to know that through calling the below mentioned functions we can achieve it.
System.setProperty( "networkaddress.cache.ttl", "0" );
System.setProperty( "networkaddress.cache.negative.ttl", "0" );
Based on this, it caches name look up data or not. I want to know the purpose or impact because of this property.