Re: host name length

From: Randy.Dunlap
Date: Mon Dec 06 2004 - 12:25:43 EST


Jan Engelhardt wrote:
| 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.

Hi Jan,
Can you be more specific, please? about (which) DNS FAQ.
I found several "DNS FAQ"s, but nothing specific about
DNS hostname lengths.

--
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/