Function async_dns::lookup

source ยท
pub async fn lookup(name: &str) -> Result<impl Iterator<Item = AddressInfo>>
Expand description

Preform a DNS lookup, retrieving the IP addresses and other necessary information.