Available on non-
wasm_browser
only.Expand description
This module exports a DNS resolver, which is also the default resolver used in the
crate::Endpoint
if no custom resolver is configured.
The resolver provides methods to resolve domain names to ipv4 and ipv6 addresses, and to resolve node ids to node addresses.
See the node_info
module documentation for details on how
iroh node records are structured.
Structs§
- DnsResolver
- The DNS resolver used throughout
iroh
.
Constants§
- N0_
DNS_ NODE_ ORIGIN_ PROD - The n0 testing DNS node origin, for production.
- N0_
DNS_ NODE_ ORIGIN_ STAGING - The n0 testing DNS node origin, for testing.