Package org.minidns.dnsserverlookup
Class UnixUsingEtcResolvConf
java.lang.Object
org.minidns.dnsserverlookup.AbstractDnsServerLookupMechanism
org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
- All Implemented Interfaces:
Comparable<DnsServerLookupMechanism>
,DnsServerLookupMechanism
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a List of String representing ideally IP addresses.boolean
Methods inherited from class org.minidns.dnsserverlookup.AbstractDnsServerLookupMechanism
compareTo, getName, getPriority, toListOfStrings
-
Field Details
-
INSTANCE
-
PRIORITY
- See Also:
-
-
Method Details
-
getDnsServerAddresses
Description copied from interface:DnsServerLookupMechanism
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()
.- Specified by:
getDnsServerAddresses
in interfaceDnsServerLookupMechanism
- Specified by:
getDnsServerAddresses
in classAbstractDnsServerLookupMechanism
- Returns:
- a List of Strings presenting hopefully IP addresses.
-
isAvailable
-