Function domain::resolv::lookup::addr::lookup_addr[][src]

pub fn lookup_addr(resolv: Resolver, addr: IpAddr) -> LookupAddr

Creates a future that resolves into the host names for an IP address.

The future will query DNS using the resolver represented by resolv. It will query DNS only and not consider any other database the system may have.

The value returned upon success can be turned into an iterator over host names via its iter() method. This is due to lifetime issues.