pub async fn resolver(
config: ResolverConfig,
options: ResolverOpts,
) -> AsyncStdResolverExpand description
Construct a new async-std based Resolver with the provided configuration.
ยงArguments
config- configuration, name_servers, etc. for the Resolveroptions- basic lookup options for the resolver