async fn resolve_hostname_to_ip<'a>(
context: &mut RecursiveContext<'a>,
resolve_locally: bool,
hostname: DomainName,
) -> Option<IpAddr>
Expand description
Resolve a hostname into an IP address, optionally only doing local resolution.
async fn resolve_hostname_to_ip<'a>(
context: &mut RecursiveContext<'a>,
resolve_locally: bool,
hostname: DomainName,
) -> Option<IpAddr>
Resolve a hostname into an IP address, optionally only doing local resolution.