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