I am not an expert. However, I can use Google and search for the "maximum length of a Fully Qualified Domain Name". The top post referred me to RFC 1035 and stated 253 bytes, with 63 bytes for the first domain label (to the left of the first "." in the FQDN).
https://stackoverflow.com/questions/...t-name-in-unix