Function std::net::lookup_addrUnstable [-] [+] [src]

pub fn lookup_addr(addr: &IpAddr) -> Result<String>

Resolve the given address to a hostname.

This function may perform a DNS query to resolve addr and may also inspect system configuration to resolve the specified address. If the address cannot be resolved, it is returned in string format.