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

resolveNSAwait

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

Try to resolve the NS records for the given name.

Parameters

name - the name for which the NS records should be resolved

handler - the to notify with the . The handler will get notified with a List that contains all resolved java.lang.Strings. If none was found it will get notified with an empty java.util.List. If an error accours it will get failed.

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