Conversation
Notices
-
Embed this notice
How is this not a valid response. The web can’t make dns requests. This was @3bf0c63f ‘s original concern as well if I remember correctly. Generally I try to not add features that web clients can’t take advantage of to not further fracture nostr.
-
Embed this notice
> The web can’t make dns requests.
Why can't javascript make a DNS over HTTP request?
-
Embed this notice
My concern was that there were two ways of doing the same thing and supporting both would just double the work for everybody, so we had to pick one.
The /.well-known/nostr.json HTTP request is better because
1. a single provider can host infinite names
2. it's still simple and free to host a static site once you have your own domain
3. it could be expanded with more metadata if necessary
Web support was a thing but I've implemented it with DoH which was good enough before deciding to switch to the HTTP.