Messages in this thread | | | Date | Mon, 6 Dec 2004 09:35:38 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: host name length |
| |
>| POSIX nowadays contains >| >| _POSIX_HOST_NAME_MAX >| and >| HOST_NAME_MAX >| >| for programs to use to learn about the maximum host name length which is >| allowed. _POSIX_HOST_NAME_MAX is the standard-required minimum maximum >| and the value must be 256. [...]
Please also consider the DNS FAQ. If a (DNS) hostname cannot be longer than X chars (I don't have the number handy ATM), HOST_NAME_MAX should not be any greater than X also.
Jan Engelhardt -- ENOSPC - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |