<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hostname lenght in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472690#M775716</link>
    <description>Hostnames can be longer, but not recommended for compatibility with mostly MS products.  ( The same reason Host1 and HOST1 are different in Unix, but both are HOST1 to windblows...Go Figure)&lt;BR /&gt;&lt;BR /&gt;I have some hosts with 12 characters, and never had a problem.  This is a pure Unix environment though.&lt;BR /&gt;&lt;BR /&gt;If you want to stick with the 8 character, just remember you can CNAME and alias to anything you want.  This is where the 64C limit would be imposed.&lt;BR /&gt;antidestablishmentarianism1 is a valid host alias!  Of course I'd hate to have to run a few remote commands on that one!   He He!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
    <pubDate>Tue, 12 Dec 2000 13:26:56 GMT</pubDate>
    <dc:creator>Shannon Petry</dc:creator>
    <dc:date>2000-12-12T13:26:56Z</dc:date>
    <item>
      <title>Hostname lenght</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472686#M775712</link>
      <description>What is the max lenght for the hostname on HP-UX. I remember in version 8 it was a maximun of 8 char.</description>
      <pubDate>Mon, 11 Dec 2000 21:34:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472686#M775712</guid>
      <dc:creator>Jean Lefrancois_1</dc:creator>
      <dc:date>2000-12-11T21:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname lenght</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472687#M775713</link>
      <description>It remains 8.  Backwards compatability with older utilities mandates this cap.</description>
      <pubDate>Mon, 11 Dec 2000 22:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472687#M775713</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-12-11T22:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname lenght</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472688#M775714</link>
      <description>Jean:&lt;BR /&gt;&lt;BR /&gt;Hostname and unname should be the same and therefore cannot exceed 8-characters.  The length of the uname structure is defined in /usr/include/sys/utsname.h in "_SYS_NMLN" (see man 2 uname).  Since this is a 9-character, null-terminated string, the maximum, safe, hostname size is eight (8).&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 11 Dec 2000 22:08:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472688#M775714</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-12-11T22:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname lenght</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472689#M775715</link>
      <description>Hi Jean,&lt;BR /&gt;&lt;BR /&gt;Even if the file sys/params.h define the maximum as being 64, quite a lot of stuff has been written assuming that hostname has a maximum length of 8 characters, so you shouldn't exceed 8.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Dec 2000 06:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472689#M775715</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-12T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hostname lenght</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472690#M775716</link>
      <description>Hostnames can be longer, but not recommended for compatibility with mostly MS products.  ( The same reason Host1 and HOST1 are different in Unix, but both are HOST1 to windblows...Go Figure)&lt;BR /&gt;&lt;BR /&gt;I have some hosts with 12 characters, and never had a problem.  This is a pure Unix environment though.&lt;BR /&gt;&lt;BR /&gt;If you want to stick with the 8 character, just remember you can CNAME and alias to anything you want.  This is where the 64C limit would be imposed.&lt;BR /&gt;antidestablishmentarianism1 is a valid host alias!  Of course I'd hate to have to run a few remote commands on that one!   He He!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Tue, 12 Dec 2000 13:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lenght/m-p/2472690#M775716</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2000-12-12T13:26:56Z</dc:date>
    </item>
  </channel>
</rss>

