Language

DnsResolverFlag Enum

Definition

Defines values used by the Android DnsResolverFlag API.

public enum DnsResolverFlag
type DnsResolverFlag = 
Inheritance
DnsResolverFlag

Fields

Name Value Description
Empty 0

Uses DNS query flags with no optional bits set.

NoRetry 1

Sends one query to one resolver, without retrying after a timeout or network error.

NoCacheStore 2

Skips the cache lookup and does not store the query result in the resolver cache.

NoCacheLookup 4

Skips the resolver cache lookup for this query.

Applies to