vertx / io.vertx.kotlin.core.dns / io.vertx.core.dns.DnsClient / lookup4Await

lookup4Await

suspend fun DnsClient.lookup4Await(name: String): String?

Try to lookup the A (ipv4) record for the given name. The first found will be used.

Parameters

name - the name to resolve

Return
a reference to this, so the API can be used fluently *