Replying to Avatar jb55

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

Reply to this note

Please Login to reply.

Discussion

This is cool! I guess you can as long as you hardcode some default public resolvers.

https://dohjs.org

Seems to work, just replaced my nip5 code with txt resolver: {name}._nostr.v0l.io

which is the same as kieran@v0l.io

https://void.cat/d/WHLQSKWcZ9VfmC7YcBdUFz.webp

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.