- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hostname length
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 11:23 AM
12-18-2000 11:23 AM
Hostname length
If I use the uname -S command, it states the host name cannot be longer than 9 characters.
We have changed the param.h file to MAXHOSTNAMELEN = 64.
If this is the place to specify the hostname length, how is the file executed or when in the boot cycle is it read. We were unable to find a kernel parameter to change host length.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 11:28 AM
12-18-2000 11:28 AM
Re: Hostname length
Here's the rule:
8 character limit for hostnames
Yes it says 64...but thats only when your going to set up for aliasing it...So you may want to review this at:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xeecad06ed8c8d4118fef0090279cd0f9!1,00.html
You can also do a Search on Hostname length or restrictions.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 11:58 AM
12-18-2000 11:58 AM
Re: Hostname length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 06:49 PM
12-18-2000 06:49 PM
Re: Hostname length
set_parms hostname
anymore and you are asking for trouble...from one who knows...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2000 09:39 PM
12-18-2000 09:39 PM
Re: Hostname length
As Rita said, the actual limit is 8 characters, starting with an alphabetic char, even if the file sys/param.h states the limit is 64.
This is to guarantee compatibility with any name server (different O/S) and with old code where the 8 char limit was enforced.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2000 12:09 AM
12-19-2000 12:09 AM
Re: Hostname length
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 11:40 PM
11-05-2003 11:40 PM
Re: Hostname length
What is the maximum lenght of Hostname. As the reply i come to know that is 64, but kindly clarify me whether is it 64 or 63.
Thanks
Jagadesh