It was about SRV records (RFC 2052, RFC 2782) that could have been used with HTTP(S) too, but no browser supported it.
2019 the IETF released the first draft for HTTPS records https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https...
2021 Firefox 92 supports HTTPS records https://www.mozilla.org/en-US/firefox/92.0/releasenotes/
Only 22 years.