public static void setDnsNegativeCachePolicy ( int negativeCacheSeconds ) { try { InetAddressCacheUtil . setDnsNegativeCachePolicy ( negativeCacheSeconds ) ; } catch ( Exception e ) { throw new DnsCacheManipulatorException ( "Fail to setDnsNegativeCachePolicy, cause: " + e . toString ( ) , e ) ; } }
Set JVM DNS negative cache policy