pub async fn resolve_recursive<'a>(
context: &mut RecursiveContext<'a>,
question: &Question,
) -> Result<ResolvedRecord, ResolutionError>
Expand description
Recursive DNS resolution.
This corresponds to the standard resolver algorithm. If information is not held locally, it will call out to remote nameservers, starting with the given root hints. Since it may make network requests, this function is async.
This has a 60s timeout.
See section 5.3.3 of RFC 1034.
ยงErrors
See ResolutionError
.