Hi! Is there a way to make ktor (on the JVM) suppo...
# ktor
b
Hi! Is there a way to make ktor (on the JVM) support DoH (DNS over HTTPS)?
c
Do you mean the Ktor client? DNS should be handled by the OS, I don't think the JVM has control over that
b
Yeah, the client.
c
I don't see any JVM library that is able to do so. Apparently it is available in preview in OkHttp?
b
Specifically, I cannot reach https://android.googleapis.com/attestation/status. While this could be some hiccup between my ISP and the Google data centre, I fear that in the long run, Google might make android.googeapis.com resolve only using DoH
Firefox resolves it just fine using DoH
I'll check out OkHttp. Since it is JVM-Only, that should help. Thanks!
h
You can pass a DNS client to OkHttp. I think other clients also support that
b
Thanks, I'll look into that. The experimental OkHttp implementation already seems solid enough at first glance. I don't really mind an unstable public API