|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.util.dns.UnboundResolver
public class UnboundResolver
Implementation of the Resolver interface, wrapping the native NLnet
Labs Unbound resolver. Only the basic methods for queries are supported.
| Constructor Summary | |
|---|---|
UnboundResolver()
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
addTrustAnchor(String anchor)
Adds a DNSSEC trust anchor validation of the DNSKEYs. |
SecureMessage |
send(org.xbill.DNS.Message query)
|
net.java.sip.communicator.util.dns.UnboundResolver.CallbackData |
sendAsync(org.xbill.DNS.Message query,
org.xbill.DNS.ResolverListener listener)
|
void |
setEDNS(int level)
Not supported. |
void |
setEDNS(int level,
int payloadSize,
int flags,
List options)
Not supported. |
void |
setForwarders(String[] forwarders)
Sets a list of forwarders to use instead of the system default. |
void |
setIgnoreTruncation(boolean flag)
Not supported. |
void |
setPort(int port)
Not supported. |
void |
setTCP(boolean flag)
Not supported. |
void |
setTimeout(int secs)
|
void |
setTimeout(int secs,
int msecs)
|
void |
setTSIGKey(org.xbill.DNS.TSIG key)
Not supported. |
protected void |
validateMessage(SecureMessage msg)
Method to allow overriders to inspect the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnboundResolver()
| Method Detail |
|---|
public void setForwarders(String[] forwarders)
forwarders - list of servers to use for our queries.public void addTrustAnchor(String anchor)
anchor - trust anchor in the form of
"'zone' IN DS 'key tag' 'algorithm' 'digest type' 'digest'"
public SecureMessage send(org.xbill.DNS.Message query)
throws IOException
send in interface org.xbill.DNS.ResolverIOException
protected void validateMessage(SecureMessage msg)
throws DnssecRuntimeException
msg - The message to inspect.
DnssecRuntimeException - if the inspector does not want the code to
continue normal processing of the answer.
public net.java.sip.communicator.util.dns.UnboundResolver.CallbackData sendAsync(org.xbill.DNS.Message query,
org.xbill.DNS.ResolverListener listener)
sendAsync in interface org.xbill.DNS.Resolverpublic void setEDNS(int level)
setEDNS in interface org.xbill.DNS.ResolverUnsupportedOperationException
public void setEDNS(int level,
int payloadSize,
int flags,
List options)
setEDNS in interface org.xbill.DNS.ResolverUnsupportedOperationExceptionpublic void setIgnoreTruncation(boolean flag)
setIgnoreTruncation in interface org.xbill.DNS.ResolverUnsupportedOperationExceptionpublic void setPort(int port)
setPort in interface org.xbill.DNS.ResolverUnsupportedOperationExceptionpublic void setTCP(boolean flag)
setTCP in interface org.xbill.DNS.ResolverUnsupportedOperationExceptionpublic void setTSIGKey(org.xbill.DNS.TSIG key)
setTSIGKey in interface org.xbill.DNS.ResolverUnsupportedOperationExceptionpublic void setTimeout(int secs)
setTimeout in interface org.xbill.DNS.Resolver
public void setTimeout(int secs,
int msecs)
setTimeout in interface org.xbill.DNS.Resolver
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||