Function async_std_resolver::resolver_from_system_conf

source ·
pub async fn resolver_from_system_conf(
) -> Result<AsyncStdResolver, ResolveError>
Expand description

Constructs a new async-std based Resolver with the system configuration.

This will use /etc/resolv.conf on Unix OSes and the registry on Windows.