Interface DNSResolver<T>

  • Type Parameters:
    T - Type of record to resolve.
    All Known Implementing Classes:
    AbstractDNSResolver, SRVDNSResolver

    public interface DNSResolver<T>
    Strategy pattern interface for resolving DNS records.
    • Method Detail

      • resolve

        Set<T> resolve​(String name)
        Resolve a set of DNS records of some type for the given name.
        Parameters:
        name - Name for which to resolve DNS records.
        Returns:
        Set of records of type T bound to the given name.