Isn't this what the SRV[1] record type is designed to solve generically?
Getting adoption at the client end is likely the limiting factor.
Getting adoption at the client end is likely the limiting factor.
This bug/request has been sitting since last century.