Package org.minidns.hla
Class DnssecResolverApi
- java.lang.Object
-
- org.minidns.hla.ResolverApi
-
- org.minidns.hla.DnssecResolverApi
-
public class DnssecResolverApi extends ResolverApi
-
-
Field Summary
Fields Modifier and Type Field Description static DnssecResolverApi
INSTANCE
-
Constructor Summary
Constructors Constructor Description DnssecResolverApi()
DnssecResolverApi(MiniDnsCacheFactory cacheFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnssecClient
getDnssecClient()
<D extends Data>
ResolverResult<D>resolve(Question question)
<D extends Data>
ResolverResult<D>resolveDnssecReliable(String name, Class<D> type)
Resolve the given name and type which is expected to yield DNSSEC authenticated results.<D extends Data>
ResolverResult<D>resolveDnssecReliable(Question question)
Resolve the given question which is expected to yield DNSSEC authenticated results.<D extends Data>
ResolverResult<D>resolveDnssecReliable(DnsName name, Class<D> type)
Resolve the given name and type which is expected to yield DNSSEC authenticated results.-
Methods inherited from class org.minidns.hla.ResolverApi
getClient, resolve, resolve, resolveSrv, resolveSrv, resolveSrv, resolveSrv, resolveSrv, resolveSrv, resolveSrv, resolveSrv, reverseLookup, reverseLookup, reverseLookup, reverseLookup
-
-
-
-
Field Detail
-
INSTANCE
public static final DnssecResolverApi INSTANCE
-
-
Constructor Detail
-
DnssecResolverApi
public DnssecResolverApi()
-
DnssecResolverApi
public DnssecResolverApi(MiniDnsCacheFactory cacheFactory)
-
-
Method Detail
-
resolve
public <D extends Data> ResolverResult<D> resolve(Question question) throws IOException
- Overrides:
resolve
in classResolverApi
- Throws:
IOException
-
resolveDnssecReliable
public <D extends Data> ResolverResult<D> resolveDnssecReliable(String name, Class<D> type) throws 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:
IOException
- in case an exception happens while resolving.- See Also:
resolveDnssecReliable(Question)
-
resolveDnssecReliable
public <D extends Data> ResolverResult<D> resolveDnssecReliable(DnsName name, Class<D> type) throws 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:
IOException
- in case an exception happens while resolving.- See Also:
resolveDnssecReliable(Question)
-
resolveDnssecReliable
public <D extends Data> ResolverResult<D> resolveDnssecReliable(Question question) throws 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:
IOException
- in case an exception happens while resolving.
-
getDnssecClient
public DnssecClient getDnssecClient()
-
-