Interface DnsCacheEntry

  • public interface DnsCacheEntry
    Represents the results from a previous DNS query which can be cached.
    • Method Detail

      • address

        InetAddress address()
        Get the resolved address.

        This may be null if the resolution failed, and in that case cause() will describe the failure.

        the resolved address.
      • cause

        Throwable cause()
        If the DNS query failed this will provide the rational.
        the rational for why the DNS query failed, or null if the query hasn't failed.