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

resolveCNAMEAwait

suspend fun DnsClient.resolveCNAMEAwait(name: String): List<String>

Try to resolve the CNAME record for the given name.

Parameters

name - the name to resolve the CNAME for

handler - the to notify with the . The handler will get notified with the resolved java.lang.String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.

Returna
reference to this, so the API can be used fluently. *