public class UnixUsingEtcResolvConf extends AbstractDnsServerLookupMechanism
| Modifier and Type | Field and Description |
|---|---|
static DnsServerLookupMechanism |
INSTANCE |
static int |
PRIORITY |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getDnsServerAddresses()
Returns a List of String representing ideally IP addresses.
|
boolean |
isAvailable() |
compareTo, getName, getPriority, toListOfStringspublic static final DnsServerLookupMechanism INSTANCE
public static final int PRIORITY
public java.util.List<java.lang.String> getDnsServerAddresses()
DnsServerLookupMechanism
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().
getDnsServerAddresses in interface DnsServerLookupMechanismgetDnsServerAddresses in class AbstractDnsServerLookupMechanismpublic boolean isAvailable()