vertx / io.vertx.kotlin.core.dns / dnsClientOptionsOf

# dnsClientOptionsOf

`fun dnsClientOptionsOf(host: String? = null, logActivity: Boolean? = null, port: Int? = null, queryTimeout: Long? = null, recursionDesired: Boolean? = null): DnsClientOptions`

A function providing a DSL for building io.vertx.core.dns.DnsClientOptions objects.

Configuration options for Vert.x DNS client.

### Parameters

`host` - Set the host name to be used by this client in requests.

`logActivity` - Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.

`port` - Set the port to be used by this client in requests.

`queryTimeout` - Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed.

`recursionDesired` - Set whether or not recursion is desired