dnstlsa
dnstlsa [-v] [-p port] [-u(dp)|-t(cp)] fqdn
dnstlsa uses the fqdn for a host employing a DNS query for a synthesized hostname given as _port._[tcp|udp].fqdn while doing an initial CNAME resolution followed by a TLSA query and displays the result(s). If -p port is missing port 25 is assumed. If either -u or -t is omitted, tcp is used. Each entry is shown on one line, telling Usage, Selector, Matching Type together with the hex-encoded fingerprint or certificate.
In verbose mode -v the synthezised record is displayed as well.
dnstlsa returns 0 on success, 1 for DNS query errors, and 111 in case of memory errors.
dnstxt(8), dnsfq(8), dnsmxip(8), dnsptr(8).