hostname
$hostname
Validates that a string matches valid hostname format according to RFC 1123. Hostnames must start and end with alphanumeric characters and may contain hyphens between labels. Each label (section between dots) can be up to 63 characters long.