Messages in this thread | | | Date | Mon, 06 Dec 2004 20:28:13 +0100 | From | Andreas Steinmetz <> | Subject | Re: host name length |
| |
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@domdv.de - 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/
| |