Re: host name length
From: Andreas Steinmetz
Date: Mon Dec 06 2004 - 14:31:07 EST
Ulrich Drepper wrote:
Yes, each label can only have 63 bytes, but the entire fqdn can be
longer, much longer. And the hostname stored with sethostname() should
be the fqdn of the machine, not just one lalbel (in DNS speak).
255 characters to be exact. The question was, however, for the hostname
which I usually don't interpret as a fqdn.
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
-
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/