public static DnsCacheEntry getDnsCache()

in library/src/main/java/com/alibaba/dcm/DnsCacheManipulator.java [172:182]


    public static DnsCacheEntry getDnsCache(String host) {
        try {
            if (isNewInetAddressImpl()) {
                return InetAddressCacheUtilForNew.getInetAddressCache(host);
            } else {
                return InetAddressCacheUtilForOld.getInetAddressCache(host);
            }
        } catch (Exception e) {
            throw new DnsCacheManipulatorException("Fail to getDnsCache, cause: " + e, e);
        }
    }