This crate provides the type
DnsConfig that allows one to resolve the
components of multiaddresses.
In order to use this crate, create a
DnsConfig with one of its constructors and pass it an
implementation of the
Whenever we want to dial an address through the
DnsConfig and that address contains a
/dns6/ component, a DNS resolve will be performed and the component will be
replaced with respectively an
/ip4/ or an
Future, dialing the resolved multi-address.
Represents the configuration for a DNS transport capability of libp2p.
Build final multi-address from resolving futures.
Future, performing DNS resolution.
Error that can be generated by the DNS layer.