Class DnssecResolverApi

    • Constructor Detail

      • DnssecResolverApi

        public DnssecResolverApi()
      • DnssecResolverApi

        public DnssecResolverApi​(org.minidns.cache.MiniDnsCacheFactory cacheFactory)
    • Method Detail

      • resolve

        public <D extends org.minidns.record.Data> ResolverResult<D> resolve​(org.minidns.dnsmessage.Question question)
                                                                      throws java.io.IOException
        Overrides:
        resolve in class ResolverApi
        Throws:
        java.io.IOException
      • resolveDnssecReliable

        public <D extends org.minidns.record.Data> ResolverResult<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 org.minidns.record.Data> ResolverResult<D> resolveDnssecReliable​(org.minidns.dnsname.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 org.minidns.record.Data> ResolverResult<D> resolveDnssecReliable​(org.minidns.dnsmessage.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.
      • getDnssecClient

        public org.minidns.dnssec.DnssecClient getDnssecClient()