[−][src]Function dns_lookup::lookup_addr
pub fn lookup_addr(addr: &IpAddr) -> Result<String>
Lookup the hostname of a given IP Address via DNS.
Returns the hostname as a String, or an io::Error
on failure.
pub fn lookup_addr(addr: &IpAddr) -> Result<String>
Lookup the hostname of a given IP Address via DNS.
Returns the hostname as a String, or an io::Error
on failure.