I would like to list all/any DNS records including the DANE TLSA.
With
dig mailbox.org ANY
I get all records including DNSSEC etc. but nothing about DANE. Why?
With
dig _443._tcp.mailbox.org. ANY
I get the DANE TLSA records.
I've read the question where someone wants to query all subdomains How can I list ALL DNS records? and am aware that this is only possible with a zone transfer.
But '_443._tcp.' isn't a real subdomain, is it? I thought it is just an SRV record. So how can I query ANYthing including DANE TLSA?
You'd find the answer in Section 3 of RFC 6698:
Basically since you can have different "TLS-Based service" (e.g., DTLS) on different ports and this data is not included in the
TLSA
record set, the naming convention is there to find the correct information for the desired protocol/port combination.