Yea should be possible with DoH, but probably CORS will be an issue
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 ?
Discussion
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.