Interface DnsServerLookupMechanism

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

  • Method Details

    • getName

    • getPriority

    • isAvailable

      boolean isAvailable()
    • 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.