Resolves IPv4 to canonical hostname and vice versa