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

resolveAAAAAwait

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

Try to resolve all AAAA (ipv6) records for the given name.

Parameters

name - the name to resolve

handler - the io.vertx.core.Handler to notify with the io.vertx.core.AsyncResult. The handler will get notified with a java.util.List that contains all the resolved java.net.Inet6Addresses. If none was found an empty java.util.List will be used. If an error accours it will get failed.

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