Package org.minidns.dnsserverlookup
Class UnixUsingEtcResolvConf
- java.lang.Object
- 
- org.minidns.dnsserverlookup.AbstractDnsServerLookupMechanism
- 
- org.minidns.dnsserverlookup.UnixUsingEtcResolvConf
 
 
- 
- All Implemented Interfaces:
- Comparable<DnsServerLookupMechanism>,- DnsServerLookupMechanism
 
 public final class UnixUsingEtcResolvConf extends AbstractDnsServerLookupMechanism 
- 
- 
Field SummaryFields Modifier and Type Field Description static DnsServerLookupMechanismINSTANCEstatic intPRIORITY
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getDnsServerAddresses()Returns a List of String representing ideally IP addresses.booleanisAvailable()- 
Methods inherited from class org.minidns.dnsserverlookup.AbstractDnsServerLookupMechanismcompareTo, getName, getPriority, toListOfStrings
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final DnsServerLookupMechanism INSTANCE 
 - 
PRIORITYpublic static final int PRIORITY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getDnsServerAddressespublic List<String> getDnsServerAddresses() Description copied from interface:DnsServerLookupMechanismReturns 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:
- getDnsServerAddressesin interface- DnsServerLookupMechanism
- Specified by:
- getDnsServerAddressesin class- AbstractDnsServerLookupMechanism
- Returns:
- a List of Strings presenting hopefully IP addresses.
 
 - 
isAvailablepublic boolean isAvailable() 
 
- 
 
-