Skip to main content

Crate hns_resolver

Crate hns_resolver 

Source
Expand description

Locally validated TLSA resolution with bounded, DNSSEC-verified CNAME chasing.

This crate is transport-neutral. Callers fetch each exact query over a policy-admitted transport, correlate the response, and feed it here.

Structs§

HnsAuthorityEvidence
HNS authority lineage retained by a validated TLSA result.
HnsDnssecAuthority
HNS resource, DS, DNSKEY, and signature evidence for one TLD authority.
ResolverLimits
Bounded resolution policy.
TlsaResolution
Mutable bounded CNAME/TLSA resolution.
ValidatedTlsa
Locally DNSSEC-validated TLSA result.
VerifiedCname
One DNSSEC-verified CNAME edge.

Enums§

ResolutionStep
Result of admitting one correlated DNS response.
ResolverError
Resolution validation failure.
ServiceTransport
TLSA service transport shared with automatic ICANN DANE discovery. Transport label used in a TLSA owner name.

Constants§

DEFAULT_MAX_CNAME_HOPS
Default maximum CNAME indirections.
DEFAULT_MAX_TLSA_RECORDS
Default maximum TLSA alternatives.
HNS_RESOURCE_TTL
HSD’s default TTL for records projected from a name resource.
HTTPS_PORT
HTTPS uses TCP TLSA service labels.