# HttpDnsManager

public class HttpDnsManager

## Properties

DNS_TYPE_BD
Link copied to clipboard
public final static int DNS_TYPE_BD
DNS_TYPE_DEFAULT
Link copied to clipboard
public final static int DNS_TYPE_DEFAULT
DNS_TYPE_SYSTEM
Link copied to clipboard
public final static int DNS_TYPE_SYSTEM
KEY_CLIENT_IP
Link copied to clipboard
public final static String KEY_CLIENT_IP
KEY_DNS_DELTA_TIME
Link copied to clipboard
public final static String KEY_DNS_DELTA_TIME
KEY_DNS_SERVER_IP
Link copied to clipboard
public final static String KEY_DNS_SERVER_IP
KEY_DNS_TYPE
Link copied to clipboard
public final static String KEY_DNS_TYPE
KEY_FROM_CACHE
Link copied to clipboard
public final static String KEY_FROM_CACHE
KEY_RESOLVE_IP
Link copied to clipboard
public final static String KEY_RESOLVE_IP

## Functions

getHttpDnsIpsOption
Link copied to clipboard
public HttpDnsOption getHttpDnsIpsOption(Context context, String host)
getInstance
Link copied to clipboard
public static HttpDnsManager getInstance()
initHttpDns
Link copied to clipboard
public void initHttpDns(Context context, NativeObject nativeObject)
shouldEnableHttpDns
Link copied to clipboard
public boolean shouldEnableHttpDns(List<String> serverAddressList)
根据指定的导航服务器地址判断是否启用 HttpDns