Package org.minidns.dnsserverlookup
Interface DnsServerLookupMechanism
- All Superinterfaces:
Comparable<DnsServerLookupMechanism>
- All Known Implementing Classes:
AbstractDnsServerLookupMechanism
,AndroidUsingExec
,AndroidUsingLinkProperties
,AndroidUsingReflection
,UnixUsingEtcResolvConf
-
Method Summary
Modifier and TypeMethodDescriptionReturns a List of String representing ideally IP addresses.getName()
int
boolean
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getName
-
getPriority
int getPriority() -
isAvailable
boolean isAvailable() -
getDnsServerAddresses
Returns a List of String representing ideally IP addresses. The list must be modifiable.Note that the lookup mechanisms are not required to assure that only IP addresses are returned. This verification is performed in when using
DnsClient.findDNS()
.- Returns:
- a List of Strings presenting hopefully IP addresses.
-