Type Definition libp2p_dns::DnsConfig

source ·
Available on crate feature async-std only.
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.