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