Skip to main content

Crate hns_resolution_policy

Crate hns_resolution_policy 

Source
Expand description

Persistent, typed HNS resolution policy and evidence provenance.

The transport plan deliberately has no operating-system or implicit public-recursive candidate. Explicit user consent may add one configured recursive HNS DoH transport as the terminal candidate. A policy mutation increments the generation, and completion under a stale generation is rejected even if a path is later re-enabled.

Structs§

Admission
Generation-bound permission to start one transport attempt.
ChainAnchor
Locally authenticated chain anchor.
HnsrPolicy
Independent HNSR participation roles.
PolicyChangeEffects
Required runtime actions after a policy mutation.
PolicyConfig
Complete runtime policy, without persistence metadata.
PolicyController
Deterministic policy controller.
PolicySnapshot
Persistent policy with a monotonic generation.
PolicyTransition
Result of replacing policy.
ProviderPolicy
Provider roles with opaque proxying default-on and output roles default-off.
ResolutionProvenance
Structured resolution provenance.
TransportPlan
Ordered, fail-closed transport candidates.
ValidationEvidence
Local validation evidence required for HNS HTTPS.

Enums§

DnsRelayRequesterPolicy
P2P DNS Relay requester behavior.
EvidenceState
Explicit local evidence state for browser observability.
Network
Handshake network.
ObliviousDnsPolicy
P2P Oblivious DNS requester behavior.
PolicyError
Policy, persistence, admission, or evidence failure.
ResolutionTransport
Actual DNS transport, separate from validation authority.
WireProfile
Experimental assignment profile.

Constants§

PERSISTED_POLICY_LEN
Exact encoded policy snapshot length.