[][src]Function async_std_resolver::resolver_from_system_conf

pub async fn resolver_from_system_conf(
) -> Result<AsyncStdResolver, ResolveError>

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.