Open jbenet opened 9 years ago
I also dislike DNS, and this note should not be taken to mean otherwise.
Have you expanded on that anywhere?
@andrewtj not yet. i dislike many aspects, but the more egregious one is the registrar system. it's a racket with terrible UX. (also getting endianness backwards). also lack of sigs ...
Update: this is now known (and implemented) as "dnslink="
. should make a small tool to resolve them.
(Originally posted at https://gist.github.com/jbenet/ca4f31dfbaec7c8ce9a8)
note on DNS and the Web
DISCLAIMER: I have not done any review of other systems that already do this. I'm sure there are many, as this is a trivial extension. Further disclaimer: I also dislike DNS, and this note should not be taken to mean otherwise.
DNS is used mostly to map names to IP Addresses and other protocol-specific resources. IPFS will use a TXT record to map to objects or names:
But perhaps much better to use a general, protocol agnostic link:
The key can be
link
ordnsweb
or whatever isn't taken.This way path file systems can use dns in its paths without locking users into one protocol. I.e. http uses dns, but it's in an http-only context:
But with these links, we could use dns to reference other protocols easily, and make the web cross protocol boundaries seamlessly.
fs root
This fits in well with another idea I have, which I'll detail more in the future. The gist of that is to make all root file systems the same, specifying the protocol in the first path component. (Shoving all your local filesystem into
/local
for now.)And thus all our filesystems would work nicely together. Links would make sense across protocols.