public static void removeDnsCache()

in library/src/main/java/com/alibaba/dcm/DnsCacheManipulator.java [255:266]


    public static void removeDnsCache(String host) {
        try {
            if (isNewInetAddressImpl()) {
                InetAddressCacheUtilForNew.removeInetAddressCache(host);
            } else {
                InetAddressCacheUtilForOld.removeInetAddressCache(host);
            }
        } catch (Exception e) {
            final String message = String.format("Fail to removeDnsCache for host %s, cause: %s", host, e);
            throw new DnsCacheManipulatorException(message, e);
        }
    }