-
Notifications
You must be signed in to change notification settings - Fork 299
Support for /api/v0/dns/ #501
Comments
It is simply missing. Wanna take a stab at implementing it? |
:) before we go there, I need some clarification: The relation between interface-ipfs-core and projects that implement it, such as Shouldn't it be added to |
Excellent question, I've been struggling myself on a way to clarify that better. First a bit of context:
Now what happens is:
In conclusion, interface-ipfs-core should specify what makes a 'core implementation' of IPFS, everything else should be considered extra until it gets 'standardized/merged into core'. |
Thank you for the insight on this. AFAIK Now that I think about it, it makes little sense to support this API it in We want to run and use embedded I would not add it to |
Well, if we have to resort to DNS to do lookups, better just put those records on IPFS... I believe that the million dollar question here is how the bit is the dataset containing every single domain and its TXT records in the world? And, given that we added all of those to IPFS, wouldn't IPNS + files sharding be a more efficient way to distribute them anyways? We can probably make DNS faster and more secure (and work offline!) if we distribute all of those records through IPNS + IPFS. PS: Created a issue on ipfs/notes ipfs/notes#250 |
I think it is @lidel 😄 |
(I was unable to find this in code nor seen any discussion in Issues)
There is an API that returns dnslink value defined in
TXT
DNS record of arbitrary hostname.I am using this API in Firefox addon for detecting if requests to a host can be loaded from IPFS instead of HTTP.
Not sure if this is a bug or a feature, but
/api/v0/dns/
provided by go-ipfs is not supported by js-ipfs-api right now.Is this on the roadmap?
Examples:
{"Path":"/ipfs/QmaYRrBpZQRjonxBpBBSLvYmy893ySPpXpHCakhomaQtkU"}
{"Message":"Could not resolve name.","Code":0}
The text was updated successfully, but these errors were encountered: