pub fn resolve_dns_if_any(ma: &Multiaddr) -> Result<Multiaddr>
Resolves the DNS parts of a multiaddress and replaces it with the resolved IP address.