Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Feature request: add link type /dns/<domain name> #348

Open
buckle2000 opened this issue Mar 9, 2018 · 10 comments
Open

Feature request: add link type /dns/<domain name> #348

buckle2000 opened this issue Mar 9, 2018 · 10 comments

Comments

@buckle2000
Copy link

How about we change /ipns/<domain name> into /dns/<domain name>?
The syntax /ipns/<domain name> is really confusing.
Related: ipfs/ipfs-update#80 (comment)

@Stebalien
Copy link
Member

Stebalien commented Mar 10, 2018

So, I believe /dns/domain.name used to resolve to a mulitaddr (location/address). We've since moved to /dnsaddr/domain.name. However, I don't know the history behind /ipns/domain.name.

edit: apparently I'm wrong. It used to be /dns. I'm not sure why it changed.

@bleonard252
Copy link

It's not the Domain Name System, it's the Interplanetary Name System, that's why.

@Stebalien
Copy link
Member

IPNS maps public keys to paths. That is, /ipns/QmMyKey... can map to /ipfs/QmMyFile. However, here we're using the /ipns prefix for DNSLink. That is, /ipns/ipfs.io. DNSLink is a completely separate system with different security guarantees.

@lidel
Copy link
Member

lidel commented Sep 22, 2018

It is fair to say that in the future there will be more resolvers than PeerID-based IPNS and DNSLink-based mainstream DNS. This year alone I've been asked about support for OpenNIC tlds, namecoin, ENS, Handshake etc.

Are there any prior discussions about how we are going to handle more than two resolvers? I've only found ipfs/kubo#3942 about pluggable ipns resolvers, but nothing solid when it comes to path-addressing.

cc @lgierth @kyledrake

@Stebalien
Copy link
Member

IMO, we should use different namespaces.

@lidel
Copy link
Member

lidel commented Jul 19, 2019

@lgierth do you remember the story behind /dns/{website_with_dnslink} ?
(why we went with /ipns/{website_with_dnslink} etc)

@swedneck
Copy link

why not use /dnslink instead of /dns? Since multiformats/go-multiaddr-dns/pull/17 is a thing it seems quite confusing to use /dns to resolve dnslink, and /dnslink is intuitive to me at least.

@lidel
Copy link
Member

lidel commented Jul 26, 2019

I agree: /dnslink is clear and removes ambigouity about the purpose of the namespace.

It also matches existing /dnsaddr quite nicely.

@momack2
Copy link
Contributor

momack2 commented Jul 29, 2019

@Stebalien @aschmahmann - solving old problems?

@Stebalien
Copy link
Member

Solving old problems...

/dnslink is the correct way forward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants