ipfs / js-ipfs

IPFS implementation in JavaScript
https://js.ipfs.tech
Other
7.43k stars 1.25k forks source link

Resolving DNSLink Paths: /ipns/<fqdn> #1918

Closed lidel closed 5 years ago

lidel commented 5 years ago

Part of an effort to run embedded js-ipfs in Brave :lion: https://github.com/ipfs-shipyard/ipfs-companion/issues/716

Type: Bug

Severity: Medium

Description:

js-ipfs v0.34 supports /ipns/<peerid>, but trying to resolve /ipns/<fqdn> produces errors (the error is different for each method).

Calling ipfs.dns('docs.ipfs.io').then(console.log) resolves DNSLink correctly, so I assume all pieces are in place and this is just a bug/missing some wiring – is this correct?

Is this on someones TODO or is it up for grabs?

Steps to reproduce the error:

alanshaw commented 5 years ago

Not really a bug, just not implemented yet...although ipfs.name.resolve is not handling it well!

niinpatel commented 5 years ago

@alanshaw I'll take a look after #1935 is merged.