public class ConfigurableDnssecResolver extends org.jitsi.dnssec.validator.ValidatingResolver implements CustomResolver
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
EVENT_TYPE |
static java.lang.String |
PNAME_BASE_DNSSEC_PIN
Default value of
PNAME_DNSSEC_VALIDATION_MODE |
static java.lang.String |
PNAME_DNSSEC_VALIDATION_MODE
Name of the property that defines the default DNSSEC validation
behavior.
|
currentDnsRedemption, DNS_PATIENCE, DNS_REDEMPTION, PDEFAULT_DNSSEC_RESOLVER_ENABLED, PNAME_DNS_PATIENCE, PNAME_DNS_REDEMPTION, PNAME_DNSSEC_RESOLVER_ENABLED
Constructor and Description |
---|
ConfigurableDnssecResolver(org.xbill.DNS.ExtendedResolver headResolver)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
void |
reset()
Reloads the configuration of forwarders and trust anchors.
|
org.xbill.DNS.Message |
send(org.xbill.DNS.Message query)
Inspects a DNS answer message and handles validation results according to
the user's preferences.
|
getTrustAnchors, init, loadTrustAnchors, sendAsync, setEDNS, setEDNS, setIgnoreTruncation, setPort, setTCP, setTimeout, setTimeout, setTSIGKey
public static final java.lang.String PNAME_DNSSEC_VALIDATION_MODE
public static final java.lang.String PNAME_BASE_DNSSEC_PIN
PNAME_DNSSEC_VALIDATION_MODE
static final java.lang.String EVENT_TYPE
public ConfigurableDnssecResolver(org.xbill.DNS.ExtendedResolver headResolver)
public org.xbill.DNS.Message send(org.xbill.DNS.Message query) throws DnssecRuntimeException, java.io.IOException
send
in interface org.xbill.DNS.Resolver
send
in class org.jitsi.dnssec.validator.ValidatingResolver
DnssecRuntimeException
- when the validation failed and the user
did not choose to ignore it.java.io.IOException
public void reset()
reset
in interface CustomResolver
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.