I’d love to hear why this is the case.
Discussion
I wonder if you can with https://en.m.wikipedia.org/wiki/DNS_over_HTTPS #[4] can you make dns requests on the web these days ?
Yea should be possible with DoH, but probably CORS will be an issue
This is cool! I guess you can as long as you hardcode some default public resolvers.
Seems to work, just replaced my nip5 code with txt resolver: {name}._nostr.v0l.io
which is the same as kieran@v0l.io
very cool. There you go #[3] ! It’s doable. I have less of an issue adding it to damus now if someone wants to PR it. Although seems a bit niche.
Generally the web is sandboxed and can’t access the full networking stack. I can’t tell if I’m talking to an engineer that understands the technical tradeoffs or if you genuinely didn’t know this. Sorry if it sounded dismissive, that was not the intention. It’s just a technical reality that web clients can’t make dns requests so the idea wouldn’t work.