Limits: Custom DNS resolver vs Host header mismatch in Ktor client
Goal We want to issue an HTTPS request to a server identified by an IP address while setting the Host header to a domain that has a valid TLS certificate. The request should perform DNS resolution via a custom resolver so that the domain maps to the desired IP, and the TLS handshake should validate the certificate against that domain. Constraints Using the d