library/src/main/java/com/alibaba/dcm/DnsCacheManipulator.java
public static void clearDnsCache() {
        try {
            if (isJdkAtMost8()) {
                InetAddressCacheUtilForJdk8Minus.clearInetAddressCache();
            } else {
                InetAddressCacheUtilForJdk9Plus.clearInetAddressCache();
            }
        } catch (Exception e) {
            throw new DnsCacheManipulatorException("Fail to clearDnsCache, cause: " + e, e);
        }
    }
/**
     * Clear all dns cache entries, cause lookup dns server for all host after.
     *
     * @throws DnsCacheManipulatorException Operation fail
     */
Clear all dns cache entries, cause lookup dns server for all host after.
@throws DnsCacheManipulatorException Operation fail
Clear all dns cache entries cause lookup dns server for all host after . @throws DnsCacheManipulatorException Operation fail
public static void clearDnsCache() {
        try {
            if (isJdkAtMost8()) {
                InetAddressCacheUtilForJdk8Minus.clearInetAddressCache();
            } else {
                InetAddressCacheUtilForJdk9Plus.clearInetAddressCache();
            }
        } catch (Exception e) {
            throw new DnsCacheManipulatorException("Fail to clearDnsCache, cause: " + e, e);
        }
    }
public static void clearDnsCache ( ) { try { if ( isJdkAtMost8 ( ) ) { InetAddressCacheUtilForJdk8Minus . clearInetAddressCache ( ) ; } else { InetAddressCacheUtilForJdk9Plus . clearInetAddressCache ( ) ; } } catch ( Exception e ) { throw new DnsCacheManipulatorException ( "Fail to clearDnsCache, cause: " + e , e ) ; } }
Clear all dns cache entries, cause lookup dns server for all host after.
Clear all dns cache entries cause lookup dns server for all host after .