dnssec_resolver library
On-device DNSSEC validation over a caller-supplied DNS wire transport.
Classes
-
DnssecOperation<
T> - A started request. Starting never throws: every failure completes result with a DnssecException, and an unawaited result never raises an uncaught error.
- DnssecRecord
- A record from a validated answer.
- DnssecResolver
- Validates DNS answers on device over a DnssecWireTransport.
- DnssecResult
- A validated answer with its DNSSEC status.
- DnssecTxtRecord
- A TXT record from a secure answer.
- DnssecWireResponse
- A DNS wire message returned by a DnssecWireTransport.
- DnssecWireTransport
- Sends the validator's DNS wire queries upstream.
Enums
Exceptions / Errors
- DnssecAliasAmbiguousException
- An owner had several CNAMEs, or a CNAME next to the queried records.
- DnssecAliasLoopException
- The CNAME chain revisited an owner.
- DnssecAliasTooLongException
- The CNAME chain exceeded the alias limit.
- DnssecCancelledException
- The lookup was cancelled.
- DnssecException
- A lookup failed; cause carries the underlying error when there is one.
- DnssecInvalidNameException
- The queried name is not a valid ASCII DNS name.
- DnssecMalformedResponseException
- A wire response or validator result could not be parsed or was invalid.
- DnssecNoRecordException
- A secure NODATA or NXDOMAIN proof showed the record does not exist; an empty answer without such a proof is reported by its DNSSEC status.
- DnssecQueryFailedException
- The upstream resolver answered with an error response code.
- DnssecQuestionMismatchException
- A wire response did not answer the query that was sent.
- DnssecResponseTooLargeException
- A wire response or an answer set exceeded the size limit.
- DnssecTimeoutException
- The lookup did not finish within timeout.
- DnssecTransportException
- The transport failed with an error that is not a DnssecException.
- The native validator could not be loaded, started or completed.
- DnssecValidationException
- The validator did not prove the answer secure.