//okhttp-dnsoverhttps/okhttp3.dnsoverhttps/DnsOverHttps
DnsOverHttps¶
[jvm]\ class DnsOverHttps : Dns
DNS over HTTPS implementation.
A DNS API client encodes a single DNS query into an HTTP request using either the HTTP GET or POST method and the other requirements of this section. The DNS API server defines the URI used by the request through the use of a URI Template.
Types¶
Name | Summary |
---|---|
Builder | [jvm] class Builder |
Companion | [jvm] object Companion |
Functions¶
Name | Summary |
---|---|
lookup | [jvm] open override fun lookup(hostname: String): List<InetAddress> |
Properties¶
Name | Summary |
---|---|
client | [jvm] @get:JvmName(name = "client") val client: OkHttpClient |
includeIPv6 | [jvm] @get:JvmName(name = "includeIPv6") val includeIPv6: Boolean |
post | [jvm] @get:JvmName(name = "post") val post: Boolean |
resolvePrivateAddresses | [jvm] @get:JvmName(name = "resolvePrivateAddresses") val resolvePrivateAddresses: Boolean |
resolvePublicAddresses | [jvm] @get:JvmName(name = "resolvePublicAddresses") val resolvePublicAddresses: Boolean |
url | [jvm] @get:JvmName(name = "url") val url: HttpUrl |