Expand description
FIPS DNS Responder
Resolves .fips queries to FipsAddress IPv6 addresses. Two resolution
paths are supported:
- Hostname:
<hostname>.fips— looked up in theHostMapto get an npub, then resolved to IPv6. - Direct npub:
<npub>.fips— pure computation from public key.
As a side effect, resolved identities are sent to the Node for identity cache population, enabling subsequent TUN packet routing.
Structs§
- DnsResolved
Identity - Identity resolved by the DNS responder, sent to Node for cache population.
Functions§
- handle_
dns_ packet - Handle a raw DNS query packet and produce a response.
- resolve_
fips_ query - Resolve a
.fipsdomain name to an IPv6 address and identity. - resolve_
fips_ query_ with_ hosts - Resolve a
.fipsdomain name with host map lookup. - run_
dns_ responder - Run the DNS responder UDP server loop.
Type Aliases§
- DnsIdentity
Rx - Channel receiver consumed by the Node RX event loop.
- DnsIdentity
Tx - Channel sender for DNS → Node identity registration.