dnslink:// URIs
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 领域
- networking
调研方向
首先阅读 #544 中的 ipfs:// 和 ipns:// 规范,然后将 @helia/verified-fetch 中对 dnslink:// 的处理与独立的 @helia/ipns 和 @helia/dnslink 模块进行比较。完成的标准是:issue 中未解决的设计问题已经得到解决,并且规范明确规定是否支持 dnslink:// 以及如何解释其 authority。
由索引模型根据 Issue 内容生成。
描述
Since #544 we have specs for ipfs:// and ipns:// URIs.
ipfs:// is quite straightforward but ipns:// has always had a weird wrinkle in that the authority could be something you can resolve using a routing query for the IPNS namespace, or a DNS query for a TXT record as defined by https://dnslink.dev/
These are not the same thing, you cannot resolve an IPNS Record using DNSLink, nor can you resolve a TXT record via a routing query for the IPNS namespace.
We can't even parse the authority in the same way leading to janky looking constructs like:
let authority
try {
authority = parseAsPublicKeyHash(url.hostname)
// hooray, it's probably an IPNS name
} catch {
// what is it? lol I don't know, maybe it's a domain name?
authority = parseAsDomainName(url.hostname)
}
Internally @helia/verified-fetch introduces a dnslink:// URL protocol which simplifies handling and Helia has long separated resolution into the comparatively heavyweight (in terms of dependencies) @helia/ipns and lightweight @helia/dnslink modules.
Perhaps DNSLink should be promoted to a first class citizen in the ecosystem and we should allow dnslink:// URIs alongside ipns:// and ipfs://?
- 主要语言
- HTML
- 星标
- 1.2k
- 派生
- 250
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ipfs/specs 的其他 Issue
-
need/triage
难度 2/5 1-3 小时 新手友好度 68/100
-
need/triage
难度 5/5 一周以上 新手友好度 30/100
-
难度 5/5 一周以上 新手友好度 35/100
-
need/triage
难度 3/5 1-2 天 新手友好度 55/100
-
Readme cleanup可能重新可做 @darobin 于 129 天前认领,目前没有进行中的 PR。 未关闭need/triage P1
相似的 Issue
-
area/networking kind/bug
难度 2/5 1-3 小时 新手友好度 69/100
siderolabs/talos#14972 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 82/100
hoiekim/turnip-ios#321 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100