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