It would be great to get out-of-the-box support for Direct TLS and _xmpps-client
SRV records as described in XEP-0368.
Currently, DNSUtil has DomainType
s to map different SRV record types, but when resolving, a HostAddress
doesn’t know if the result is a Direct TLS or a STARTTLS record. What would be the most elegant way to implement that?