Package org.minidns.dnsserverlookup
Interface DnsServerLookupMechanism
-
- All Superinterfaces:
Comparable<DnsServerLookupMechanism>
- All Known Implementing Classes:
AbstractDnsServerLookupMechanism
,AndroidUsingExec
,AndroidUsingLinkProperties
,AndroidUsingReflection
,UnixUsingEtcResolvConf
public interface DnsServerLookupMechanism extends Comparable<DnsServerLookupMechanism>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getDnsServerAddresses()
Returns a List of String representing ideally IP addresses.String
getName()
int
getPriority()
boolean
isAvailable()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getPriority
int getPriority()
-
isAvailable
boolean isAvailable()
-
getDnsServerAddresses
List<String> 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.
-
-