-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore non-IPFS content paths in DNSLink records #369
Comments
👍 The gist here is to ignore DNSLink records with content paths with prefix other than We should also interpret |
js-ipfs is being deprecated in favor of Helia. You can ipfs/js-ipfs#4336 and read the migration guide. Please feel to reopen with any comments by 2023-06-02. We will do a final pass on reopened issues afterward (see ipfs/js-ipfs#4336). Assigning to @achingbrain to answer whether this issue is already resolved in Helia, or if this issue needs to be migrated to that repo! |
I believe this is fixed by #466? |
Yes, #466 will close this |
Uses the `.dns` property from #465 to resolve DNS `TXT` records. This allows configuring discrete resolvers for different TLDs, unifies caching across different use of DNS (e.g. dnsaddr multiaddrs), etc. Refs: ipfs/helia-verified-fetch#13 (comment) Fixes: #369 BREAKING CHANGE: requires @helia/interface@4.1.x or later, `resolveDns` has been renamed `resolveDNSLink`
Version:
Platform
dns-nodejs
Severity:
Low - An optional functionality does not work.
Description:
dns-nodejs returns currently the first dnslink= txt entry that can be found for a given domain, independent from the given protocol prefix, which prevents other decentralized protocols from using dnslink. It would probably be good for dnslink-nodejs to look for the ipfs dnslink entry only.
Note: I also opened related issues on go-dnslink#14 and js-dnslink#5.
Steps to reproduce the error:
Create a domain with a
dnslink=/hyper/...
entry anddnslink=/ipfs
option and see how (depending on the order returned by the dns function!) how it will not consistently return the correct entry.The text was updated successfully, but these errors were encountered: