I am currently working on a project Android. I have a doubt that I am fixing DNS level caching . Thanks to the search, I found out that by calling the functions listed below, we can achieve it.
System.setProperty( "networkaddress.cache.ttl", "0" );
System.setProperty( "networkaddress.cache.negative.ttl", "0" );
Based on this, it caches name lookup data or not. I want to know the purpose or impact due to this property.
source
share