Put `relay_url: "wss://a.com"` in kind: 0 metadata and you're done. Not that hard obv.

nostr:nevent1qqs97zag63cshncx2e5mpej5vgl6um6ajsw02d3xva8m60ptxvkrf8gpr9mhxue69uhkymmnw3ezumr9vd682unfveujumn9wspzq2fjp96alp2lud98k3dd5fpputr5rsmuqymfq8lywufn4y0trzc8qvzqqqqqqyvfz5uc

Reply to this note

Please Login to reply.

Discussion

no. I means that we may connect to relay without dns.

The relay has a id and we can access it without domains.

This is technically almost impossible to achieve without the help of DNS or Indexer server. Not forget to mention about TLS.

From personal perspective, This is more of an exaggerated idea. What is even the point of you being in clearnet if you still want to be completely anonymous in Nostr. Just stick in Tor onion or I2P entirely if your fear about surveillance is as high as a mount everest. Sure, it may be possible to implement one. But it won't helps if the implementation is complicated.

While you think that peer2peer is cool, The risk of getting caught is more higher than the current implementation. Your IP is visible to everyone else with no exception.

So think of something like a mail of warning from your ISP due to Torrenting. Just remember that.

If the p2p is ok, there also can proxy the real ip by a proxy ip.

The bt system also work without dns. Every bt client has a list. If you want to find someone, you can ask the clients in your list for help. The clients in you list, will send you some items from his list to help you to find it.

These list help the bt system become decentralization.

The TLS problem is also ok. If a relay has a pubkey, it also own a private key. Clients and relays can exchange a encrypt key with private key. This action is just like How TLS work.

> there's also has proxy to mask the real IP

This is not going to make sense if it's using proxy by default.

> The bt system also work without dns

Technically yes. But it still need other services that did need DNS to work. I am mostly referring to the tracker.

Still you need tracker to tell you a list of peers.

> Clients and relays can exchange a encrypt key with private key. This action is just like How TLS work.

As of current NIP04 or NIP44 implementation, It's deencrypting speed is still considered slow and was not even designed for this actual purpose.

With the dns system, there alway someone know you real ip, the cloudflare or nginx.

The tracker is not necessary. Bt client can also work with the dht network.

The NIP04 or NIP44 only useded to exchange a encrypt key. After that clients and relays will communicate using this excrypt key with other encrypt method like aes256.

this disscussion in github may what all of you may concerned. I primarily understandDASHU meaning inChina situations where normal dns sni tls and i2p,tor areblocked by A country. BT'S mode may work. An idea isNostr can publish a standard: Share a string or with gpg ,like bt magenet: ,and resolve real ip in hardware memory and peering randomly with encryption/verification until establish real comnections and send message.

https://github.com/nostr-protocol/nips/issues/1176

https://github.com/nostr-protocol/nips/discussions/1177