DnsOverHttps

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

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "client")
val client: OkHttpClient
Link copied to clipboard
@get:JvmName(name = "includeIPv6")
val includeIPv6: Boolean
Link copied to clipboard
@get:JvmName(name = "post")
val post: Boolean
Link copied to clipboard
@get:JvmName(name = "resolvePrivateAddresses")
val resolvePrivateAddresses: Boolean
Link copied to clipboard
@get:JvmName(name = "resolvePublicAddresses")
val resolvePublicAddresses: Boolean
Link copied to clipboard
@get:JvmName(name = "url")
val url: HttpUrl

Functions

Link copied to clipboard
open override fun lookup(hostname: String): List<InetAddress>