HelloZeroNet / HelloZeroNet/ZeroNet

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

Aperta
#706 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
18.8k
Fork
2.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.