HostnameValidator
The value must be an RFC 1123 hostname: dot-separated labels of 1-63 letters, digits, and hyphens (no leading/trailing hyphen per label), at most 253 characters total. A single label (localhost) is valid; a trailing dot is not.