Class DnssecResolverApi

    • Method Detail

      • resolveDnssecReliable

        public <D extends DataResolverResult<D> resolveDnssecReliable​(java.lang.String name,
                                                                        java.lang.Class<D> type)
                                                                 throws java.io.IOException
        Resolve the given name and type which is expected to yield DNSSEC authenticated results.
        Type Parameters:
        D - the RR type to resolve.
        Parameters:
        name - the DNS name to resolve.
        type - the class of the RR type to resolve.
        Returns:
        the resolver result.
        Throws:
        java.io.IOException - in case an exception happens while resolving.
        See Also:
        resolveDnssecReliable(Question)
      • resolveDnssecReliable

        public <D extends DataResolverResult<D> resolveDnssecReliable​(DnsName name,
                                                                        java.lang.Class<D> type)
                                                                 throws java.io.IOException
        Resolve the given name and type which is expected to yield DNSSEC authenticated results.
        Type Parameters:
        D - the RR type to resolve.
        Parameters:
        name - the DNS name to resolve.
        type - the class of the RR type to resolve.
        Returns:
        the resolver result.
        Throws:
        java.io.IOException - in case an exception happens while resolving.
        See Also:
        resolveDnssecReliable(Question)
      • resolveDnssecReliable

        public <D extends DataResolverResult<D> resolveDnssecReliable​(Question question)
                                                                 throws java.io.IOException
        Resolve the given question which is expected to yield DNSSEC authenticated results.
        Type Parameters:
        D - the RR type to resolve.
        Parameters:
        question - the question to resolve.
        Returns:
        the resolver result.
        Throws:
        java.io.IOException - in case an exception happens while resolving.