HelloZeroNet / HelloZeroNet/ZeroNet

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

Open
#706 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.