ZeroNet icon indicating copy to clipboard operation
ZeroNet copied to clipboard

Decentralized solution for .bit domain resolving

Open up4 opened this issue 9 years ago • 8 comments

If I have an up-to-date namecoin blockchain and with a local Namecoind service running, I would like ZeroNet to use its JSON RPC API instead of ZeroName for .bit domain name resolution.

If it has any chance of being pulled back for the next release I would like to submit a patch. Please let me know if there is interest.

up4 avatar Apr 03 '16 14:04 up4

There is a plugin for that: https://github.com/HelloZeroNet/ZeroNet/tree/master/plugins/disabled-Zeroname-local

HelloZeroNet avatar Apr 03 '16 14:04 HelloZeroNet

OK, thanks. That's not what I meant and it was not functional when I tried it but I talked to the author ( @TheNain38 ) and he said he would fix it and try to implement the functionality I was referring to : that if a local instance of namecoind is running, to automatically switch to resolving .bit domains with it instead of relying on ZeroName. Can we leave this open until it is confirmed to work and turned on by default in a release or something ? Thanks.

up4 avatar Apr 18 '16 21:04 up4

I prefer to make it an separate, optional plugin as it affects very small amount of users and it's not stable yet

HelloZeroNet avatar Apr 19 '16 00:04 HelloZeroNet

It's not stable, I agree. But, it does affect the overall perception that ZeroNet does not try very hard to be truly decentralized by forcing you to trust ZeroName, by default. Leaving this issue open shows that, well, it's a known issue, at least.

up4 avatar Apr 19 '16 01:04 up4

I think the best solution would be using P2P name resolution without downloading the blockchain. It could be possible using SPV clients, but it's not ready for namecoin yet: http://blog.namecoin.org/post/109811339625/lightweight-resolvers when it's ready we will implement it as default dns resolving.

other possibility: https://blockstack.org/docs/light-clients (it's also not ready yet)

HelloZeroNet avatar Apr 19 '16 01:04 HelloZeroNet

i hear you and i agree but I think this should remain a ZeroNet open issue and recognized as such

up4 avatar Apr 19 '16 01:04 up4

Hi @HelloZeroNet,

FYI the decentralized SPV client that @cassiniNMC talked to you about at GETD#4 is released in beta. The mode that Cassini discussed with you is leveldbtxcache.

The main reason it's classified as "beta" is that not many people have used it in production, so we just don't have a strong basis for knowing if there are any issues -- maybe that's where you can come in?

Cheers!

JeremyRand avatar Jan 29 '17 04:01 JeremyRand

This plugin allow to resolve .bit domain name without using the Zeroname site (so in a decentralized old fashion). It doesn't download the all block chain but only interesting tx by following the SPV protocol. IT desktop friendly.

http://127.0.0.1:43110/1EfLnw7GDXbZfJmGNoXGQ4XkuHGWkRZTMq/?Topic:1632518014_1KuwwnkAtVrfnyhv8pyGRxLqzNZbEkJt2u

slrslr avatar Sep 25 '21 07:09 slrslr