Skip to main content

Crate hns_transport

Crate hns_transport 

Source
Expand description

Proof-authorized direct authoritative DNS over UDP and TCP.

Endpoints can only be derived from a VerifiedHnsResource. Mainnet and testnet require globally routable committed glue on port 53. A nonstandard loopback port is available only through an explicit regtest-fixture policy. Queries are strict class-IN, DNSSEC-enabled, non-recursive messages.

Structs§

AuthoritativeEndpoint
One immutable endpoint derived from current on-chain HNS authority data.
AuthoritativeSet
Deduplicated endpoints from one verified current HNS resource.
CancellationToken
Cooperative cancellation shared with the platform lifecycle.
DirectDnsTransport
Synchronous direct-authoritative DNS transport.
TransportLimits
Direct DNS transport bounds.

Enums§

AuthorityPortPolicy
Port admission for committed authoritative endpoints.
TransportError
Endpoint admission, DNS, I/O, timeout, or cancellation failure.

Constants§

DNS_PORT
Standard authoritative DNS port.
MAX_AUTHORITY_ENDPOINTS
Maximum committed authoritative endpoints admitted from one resource.