tuweni / org.apache.tuweni.discovery / DNSResolver / resolveRecordRaw

resolveRecordRaw

fun resolveRecordRaw(domainName: String): String? (source)

Resolves the first TXT record associated with a domain name, and returns it, or null if no such record exists or the record cannot be read.

Parameters

domainName - the name of the DNS domain to query

Return
the first TXT entry of the DNS record