Optional<DNSEntry> resolveRecord(final String domainName) {
    return resolveRawRecord(domainName).map(DNSResolver::readDNSEntry);
  }
Maps TXT DNS record to DNSEntry.

@param domainName the domain name to query
@return the DNS entry read from the domain. Empty if no record is found.
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/dns/DNSResolver.java