vertx / io.vertx.reactivex.core / Vertx / createDnsClient

# createDnsClient

`open fun createDnsClient(port: Int, host: String): DnsClient`

Create a DNS client to connect to a DNS server at the specified host and port

### Parameters

`port` - the port

`host` - the host

Return
the DNS client

`open fun createDnsClient(options: DnsClientOptions): DnsClient`

Create a DNS client to connect to a DNS server

### Parameters

`options` - the client options

Return
the DNS client