HelloZeroNet / HelloZeroNet/ZeroNet

Support delegation to other ZeroName sites to bypass namecoin's limit on subdomains.

未关闭
#706 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

Namecoin allows a max of 520 bytes on transcation size,
that allows upto 12 subdomains to be recorderd in the blockchain
(assuming on average a subdomain has 1 character).

For clearnet, namecoin record can point to a nameserver record,
thus allowing unlimited subdomain.
But ZeroNet does not allow this yet.

Thus I suggest a new field `zeroname`, e.g.

```json
// example.bit
{
"zeronet": {
"": "root_domain_zeronet_address",
"foo": "subdomain_address"
},
"zeroname": {
"*": "ZeroNameFoo_zeronet_address"
}
```

So when zeronet encounter a domain `foo.example.bit`,
it resolves it according to ZeroName as usual.
And when zeronet encounter a domain `bar.example.bit`,
it cannot find a record in ZeroName, but find the delegation record to `ZeroNameFoo`.
So it resolves `bar.example.bit` via `ZeroNameFoo`.

贡献指南

这个仓库没有索引到贡献指南

调研方向

The issue names no files, tests, or entry points. Start by locating ZeroNet's ZeroName/domain-resolution code and its existing record handling, then determine how delegated wildcard records should be tested; done means delegated subdomains resolve through the referenced ZeroName site without exceeding Namecoin's record limit.

由索引模型根据 Issue 内容生成。

评估

领域
networking
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。