Skip to content

Commit

Permalink
docs(ADDRESSING): default DNSLink to ipfs://
Browse files Browse the repository at this point in the history
DNSLink resides under `/ipns/` right now, but it is not related to IPNS in any way. 
We should support `ipns://{fqdn}` for completeness and backward compatibility,
however it should be a redirect to `ipfs://{fqdn}`.

Address bar should have `ipfs://{fqdn}`.

This will solve two HUGE problems:
- people being confused why its `ipns://` instead of `ipfs://`
- removing the problem of cross-protocol boundary
  • Loading branch information
lidel authored Jul 26, 2019
1 parent 7c2652c commit 4b4487d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ADDRESSING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ ipfs://{cidv0} → redirect → ipfs://{cidv1base32} # CIDv0 is case-sensitive B
ipns://{libp2p-key-in-cidv1base32}
ipns://{libp2p-key-in-base58} → redirect → ipns://{libp2p-key-in-cidv1} # Base58, does not work as Origin authority

ipns://{fqdn-with-dnslink}
ipfs://{fqdn-with-dnslink} → redirect → ipns://{fqdn-with-dnslink} # just to improve UX :-)
ipfs://{fqdn-with-dnslink}
ipns://{fqdn-with-dnslink} → redirect → ipfs://{fqdn-with-dnslink} # just to improve UX :-)

dweb:/ipfs/{root}/{resource} → redirect → ipfs://{root}/{resource} # ensures {root} is the authority component
dweb:/ipns/{root}/{resource} → redirect → ipns://{root}/{resource} # ensures {root} is the authority component
Expand Down

0 comments on commit 4b4487d

Please sign in to comment.