Interface DnsServerLookupMechanism

All Superinterfaces:
Comparable<DnsServerLookupMechanism>
All Known Implementing Classes:
AbstractDnsServerLookupMechanism, AndroidUsingExec, AndroidUsingReflection, UnixUsingEtcResolvConf

public interface DnsServerLookupMechanism extends Comparable<DnsServerLookupMechanism>
  • Method Details

    • getName

      String getName()
    • getPriority

      int getPriority()
    • isAvailable

      boolean isAvailable()
    • getDnsServerAddresses

      List<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.