HelloZeroNet / ZeroNet

ZeroNet - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.io
Other
18.26k stars 2.26k forks source link

The domain naming scheme proposal #2087

Open wandrien opened 5 years ago

wandrien commented 5 years ago

Some related comments and discussions:

The idea:

The proposed second-level domain schemes:

filips123 commented 4 years ago

Mentioned sprite add-on tries to support all but that can cause more problems then it solves.

Why do you think so?

Because there is currently no standard, all options should be possible. When standard will be created, only is should be enabled.

sprite-1 commented 4 years ago

As far as I know, the only thing my extension potentially screws up are *.bit domains on regular browsers but that's pretty much it

filips123 commented 4 years ago

@sprite-1 Can you add configuration page to let users manage which keywords, addresses and TLDs should be rewritten? This would be useful if the user does not need all possibilities or you forgot some of them. It should have the following option:

krzysztof113 commented 4 years ago

@filips123 Scenario: someone pastes link in reddit etc with http://mydomain.zeronetrocks but you don't have that particular plug-in that will redirect properly and you have to manually extract "mydomain".

filips123 commented 4 years ago

@krzysztof113 This is not what that plugin is meant for. And how would you actually do this with a plugin?

This needs to be done with ZeroNet changes. Public ZeroNet instance should accept URL like talk.zeronetwork.bit.example.com where talk.zeronetwork.bit is ZeroNet domain and example.com is proxy URL. The instance should then extract ZeroNet domain, lookup site and serve it. This can't be done with plugin.

For local ZeroNet instances, talk.zeronetwork.bit.zeronet is enought. It should be handled by local ZeroNet instance and can be done with proxy PAC file, custom DNS or DoH server, system program or browser plugin. However, all cases would require ZeroNet changes to handle server on custom URLs.

See this issue, issues linked from this issue and issues that link this issue for details.

sprite-1 commented 4 years ago

Can you add configuration page to let users manage which keywords, addresses and TLDs should be rewritten?

I've been meaning to do this but just haven't had the time yet lately so it's definitely something I want in there

filips123 commented 4 years ago

I created a comment about different ways of accessing ZeroNet and ways of implementing that in https://github.com/HelloZeroNet/ZeroNet/issues/2100#issuecomment-544664709.