DnsCacheManipulator.listDnsCache()
instead.InetAddress.Cache#cache
in InetAddress.addressCache
.dns-cache.properties
on classpath, then set to dns cache.NOTE: if Security Manage is turn on, JVM DNS cache policy set will not take effective.
InetAddress.cacheAddresses(String, InetAddress[], boolean)
.Copyright © 2015 Alibaba. All rights reserved.