suspend fun DnsClient.lookup4Await(name: String): String?
Try to lookup the A (ipv4) record for the given name. The first found will be used. |
|
suspend fun DnsClient.lookup6Await(name: String): String?
Try to lookup the AAAA (ipv6) record for the given name. The first found will be used. |
|
suspend fun DnsClient.lookupAwait(name: String): String?
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. The first found will be used. |
|
suspend fun DnsClient.resolveAAAAAwait(name: String): List<String>
Try to resolve all AAAA (ipv6) records for the given name. |
|
suspend fun DnsClient.resolveAAwait(name: String): List<String>
Try to resolve all A (ipv4) records for the given name. |
|
suspend fun DnsClient.resolveCNAMEAwait(name: String): List<String>
Try to resolve the CNAME record for the given name. |
|
suspend fun DnsClient.resolveMXAwait(name: String): List<MxRecord>
Try to resolve the MX records for the given name. |
|
suspend fun DnsClient.resolveNSAwait(name: String): List<String>
Try to resolve the NS records for the given name. |
|
suspend fun DnsClient.resolvePTRAwait(name: String): String?
Try to resolve the PTR record for the given name. |
|
suspend fun DnsClient.resolveSRVAwait(name: String): List<SrvRecord>
Try to resolve the SRV records for the given name. |
|
suspend fun DnsClient.resolveTXTAwait(name: String): List<String>
Try to resolve the TXT records for the given name. |
|
suspend fun DnsClient.reverseLookupAwait(ipaddress: String): String?
Try to do a reverse lookup of an IP address. This is basically the same as doing trying to resolve a PTR record but allows you to just pass in the IP address and not a valid ptr query string. |