lkml.org 
[lkml]   [2004]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: host name length
Andreas Steinmetz wrote:
> 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.

So sethostname(2) sets fqdn, right?

Ulrich, do you want help on this or is it already done?

--
~Randy
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2011 Jasper Spaans