Type Definition libp2p_dns::DnsConfig

source · []
Expand description

A Transport wrapper for performing DNS lookups when dialing Multiaddresses using async-std for all async I/O.

Implementations

Creates a new DnsConfig from the OS’s DNS configuration and defaults.

Creates a DnsConfig with a custom resolver configuration and options.