Ktor client TLS versus java.net.InetAddress DNS: independent hostname verification and async resolution
The Ktor client relies on the JVM’s SSLContext for TLS and hostname verification, while its DNS lookup is performed synchronously through java.net.InetAddress. Ktor does not expose a flag to disable certificate validation or to supply an alternate DNS resolver, and engine‑specific settings such as sslContext or dnsResolver must be provided via the underlying