lookup

Function 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.