How to resolve full multiaddres from a multihash?

Hi,
Another newbie question:

  • given a nodeā€™s multihash value, how to resolve the full multiaddress so I can can connect to?
    (my assumption is that we have to have to have the full address in order to connect to the remote node right ?)

For example, in order to connect to the node, I need to use:
ipfs swarm connect /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ

So if I only know the multihash value, how do I get the full address ?

ā€œipfs name resolveā€ only returns ā€œ/ipfs/ā€¦ā€, still not the full address right ?

thanks
canal

ā€œipfs dht findpeerā€ is the command you are looking for.

yes, it works, thank you very much !