<?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: host name requirementts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225935#M327977</link>
    <description>From the hostname man page: &lt;BR /&gt; &lt;BR /&gt;The name_of_host argument is restricted to      MAXHOSTNAMELEN characters as defined in &lt;SYS&gt;.&lt;BR /&gt; &lt;BR /&gt;See also: man 5 hostname&lt;BR /&gt; &lt;BR /&gt;Since your hostname may have to work with dozens of other OS's and versions, use alphanumerics only. Special characters will get you in trouble, if not now, eventually...&lt;BR /&gt; &lt;BR /&gt;Also, don't confuse the hostname and nodename. The basic nodename of a system is the 8 character name defined in the hostname(1) man page. The hostname (defined in /etc/rc.config.d/hostname) can be longer but it is recommended that the simple name be defined first, followed by longer names (as aliases) including fully qualified domain names (ie, FQDN such as myname.mydomain.com). You can have dozens of different names for the same server...&lt;BR /&gt; &lt;BR /&gt;Because hostnames are shared among other network devices, eventually a hostname such as abc-12_34%ta will cause a lot of sysaadmin headaches. Take a hint from human engineering studies and use meaningful names like yoda and daffy. The data center manager will go crazy because she wants the names to match the floor tile grid and the network guys want the names to correspond to the network identifiers and the application people want the names to look like...&lt;BR /&gt; &lt;BR /&gt;All the while forgetting that machines will move and people just don't relate well to gobbledygook names (that's a technical term).&lt;/SYS&gt;</description>
    <pubDate>Tue, 01 Jul 2008 18:33:40 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2008-07-01T18:33:40Z</dc:date>
    <item>
      <title>host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225932#M327974</link>
      <description>I have an itanium server and going to be running 11i v2. What is the requirements on the server name? for instance, the length of the name?&lt;BR /&gt;&lt;BR /&gt;If I name 12 long: xxxxxx-Y-ZZ1&lt;BR /&gt;would that be any problems?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 01 Jul 2008 17:36:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225932#M327974</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2008-07-01T17:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225933#M327975</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Standard is still 8 character for hostname.&lt;BR /&gt;&lt;BR /&gt;There is an add in to permit longer hostnames on &lt;A href="http://software.hp.com" target="_blank"&gt;http://software.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would not use it, but you can.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 01 Jul 2008 17:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225933#M327975</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-07-01T17:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225934#M327976</link>
      <description>what about if I use two "-" in the name? as the format of "xxxxxx-Y-ZZ1"?</description>
      <pubDate>Tue, 01 Jul 2008 17:47:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225934#M327976</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2008-07-01T17:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225935#M327977</link>
      <description>From the hostname man page: &lt;BR /&gt; &lt;BR /&gt;The name_of_host argument is restricted to      MAXHOSTNAMELEN characters as defined in &lt;SYS&gt;.&lt;BR /&gt; &lt;BR /&gt;See also: man 5 hostname&lt;BR /&gt; &lt;BR /&gt;Since your hostname may have to work with dozens of other OS's and versions, use alphanumerics only. Special characters will get you in trouble, if not now, eventually...&lt;BR /&gt; &lt;BR /&gt;Also, don't confuse the hostname and nodename. The basic nodename of a system is the 8 character name defined in the hostname(1) man page. The hostname (defined in /etc/rc.config.d/hostname) can be longer but it is recommended that the simple name be defined first, followed by longer names (as aliases) including fully qualified domain names (ie, FQDN such as myname.mydomain.com). You can have dozens of different names for the same server...&lt;BR /&gt; &lt;BR /&gt;Because hostnames are shared among other network devices, eventually a hostname such as abc-12_34%ta will cause a lot of sysaadmin headaches. Take a hint from human engineering studies and use meaningful names like yoda and daffy. The data center manager will go crazy because she wants the names to match the floor tile grid and the network guys want the names to correspond to the network identifiers and the application people want the names to look like...&lt;BR /&gt; &lt;BR /&gt;All the while forgetting that machines will move and people just don't relate well to gobbledygook names (that's a technical term).&lt;/SYS&gt;</description>
      <pubDate>Tue, 01 Jul 2008 18:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225935#M327977</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-07-01T18:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225936#M327978</link>
      <description>&amp;gt;what about if I use two "-" in the name?&lt;BR /&gt;&lt;BR /&gt;I have a bunch of machines with "-" and 8 char names.  About the only recent problem was a perl script that didn't expect that "-".</description>
      <pubDate>Tue, 01 Jul 2008 20:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225936#M327978</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-01T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225937#M327979</link>
      <description>There is an RFC (RFC 952) which covers the rules host names.  The perl script was incorrect.  Hyphens are not allowed.  Names begin with an alphabetic character and contain only alphanumerics and hyphens.  Good practic is to make your hostname unique in the first eight characters  SMTP servers frequently enforce this if verifying the incoming connect.&lt;BR /&gt;&lt;BR /&gt;I use primary hostname that are always strictly alphabetic.  Check RFC 1178 for help in choosing hostnames.</description>
      <pubDate>Wed, 02 Jul 2008 13:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225937#M327979</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2008-07-02T13:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225938#M327980</link>
      <description>There is an RFC (RFC 952) which covers the rules host names.  The perl script was incorrect.  Hyphens are not allowed.  Names begin with an alphabetic character and contain only alphanumerics and hyphens.    SMTP servers frequently enforce this if verifying the incoming connection.&lt;BR /&gt;&lt;BR /&gt;Good practice is to make your hostname unique in the first eight characters.  On servers, I use primary hostnames that are always strictly alphabetic.  Check RFC 1178 for help in choosing hostnames.</description>
      <pubDate>Wed, 02 Jul 2008 13:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225938#M327980</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2008-07-02T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225939#M327981</link>
      <description>Iwas always under the impression that it was underscore and not hyphen which was disallowed.</description>
      <pubDate>Wed, 02 Jul 2008 15:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225939#M327981</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2008-07-02T15:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225940#M327982</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This is an interesting issue.&lt;BR /&gt;Here is why:&lt;BR /&gt;&lt;BR /&gt;Underscores are not valid characters in hostnames (forget about WINS&lt;BR /&gt;database in Windows :)).&lt;BR /&gt;&lt;BR /&gt;Hence, advsg_200 and others should avoid having "_" character in their names.&lt;BR /&gt;&lt;BR /&gt;Here is why:&lt;BR /&gt;&lt;BR /&gt;RFC 952 (DOD Internet Host Table Specification) defines host names as folows:&lt;BR /&gt;&lt;BR /&gt;   1. A "name" (Net, Host, Gateway, or Domain name) is a text string up&lt;BR /&gt;   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus&lt;BR /&gt;   sign (-), and period (.).  Note that periods are only allowed when&lt;BR /&gt;   they serve to delimit components of "domain style names". (See&lt;BR /&gt;   RFC-921, "Domain Name System Implementation Schedule", for&lt;BR /&gt;   background).  No blank or space characters are permitted as part of a&lt;BR /&gt;   name. No distinction is made between upper and lower case.  The first&lt;BR /&gt;   character must be an alpha character.  The last character must not be&lt;BR /&gt;   a minus sign or period.&lt;BR /&gt;&lt;BR /&gt;RFC 1123 (Requirements for Internet Hosts -- Application and Support) modifies&lt;BR /&gt;952 as follows:&lt;BR /&gt;&lt;BR /&gt;   2.1  Host Names and Numbers&lt;BR /&gt;&lt;BR /&gt;   The syntax of a legal Internet host name was specified in RFC-952&lt;BR /&gt;   [DNS:4].  One aspect of host name syntax is hereby changed: the&lt;BR /&gt;   restriction on the first character is relaxed to allow either a&lt;BR /&gt;   letter or a digit.  Host software MUST support this more liberal&lt;BR /&gt;   syntax.&lt;BR /&gt;&lt;BR /&gt;Note that under 952, A123.org is valid, but 123.org is not. Under 1123,&lt;BR /&gt;the requirement that the first character be alphabetic is lifted, so 123.org&lt;BR /&gt;is now valid.&lt;BR /&gt;&lt;BR /&gt;RFC 1035 says:&lt;BR /&gt;&lt;BR /&gt;   2.3.1. Preferred name syntax&lt;BR /&gt;&lt;BR /&gt;  The DNS specifications attempt to be as general as possible in the rules&lt;BR /&gt;   for constructing domain names.  The idea is that the name of any&lt;BR /&gt;   existing object can be expressed as a domain name with minimal changes.&lt;BR /&gt;&lt;BR /&gt;   However, when assigning a domain name for an object, the prudent user&lt;BR /&gt;   will select a name which satisfies both the rules of the domain system&lt;BR /&gt;   and any existing rules for the object, whether these rules are published&lt;BR /&gt;   or implied by existing programs.&lt;BR /&gt;&lt;BR /&gt;   For example, when naming a mail domain, the user should satisfy both the&lt;BR /&gt;   rules of this memo and those in RFC-822.  When creating a new host name,&lt;BR /&gt;   the old rules for HOSTS.TXT should be followed.  This avoids problems&lt;BR /&gt;   when old software is converted to use domain names.&lt;BR /&gt;&lt;BR /&gt;And so on.&lt;BR /&gt;&lt;BR /&gt;In Unix, hostnames are designed with limit of up to eight characters.&lt;BR /&gt;Longer hostnames are simply truncated and various applications might&lt;BR /&gt;experience a problem.&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.31 has support for longer hostnames but many other third-party applications might not support it.&lt;BR /&gt;&lt;BR /&gt;Hence, hyphen IS VALID character. &lt;BR /&gt;Underscore is NOT VALID character.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 02 Jul 2008 20:42:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225940#M327982</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-07-02T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: host name requirementts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225941#M327983</link>
      <description>By the way,&lt;BR /&gt;&lt;BR /&gt;In my Perl Operations Acceptance Testing&lt;BR /&gt;script I check it for Unix servers (here&lt;BR /&gt;is a small extract for an HP-UX 11.31 server):&lt;BR /&gt;&lt;BR /&gt;CHECKING NODENAME LENGTH&lt;BR /&gt;________________________&lt;BR /&gt;PASS Nodename length (5 for syd59)&lt;BR /&gt;INFO Dynamic kernel parameter expanded_node_host_names is available&lt;BR /&gt;&lt;BR /&gt;CHECKING HOSTNAME CONTAINS VALID CHARACTERS&lt;BR /&gt;___________________________________________&lt;BR /&gt;PASS Valid characters in hostname syd59&lt;BR /&gt;RFCs define valid characters as 'a-zA-Z0-9.-'&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circlingcycle.com.au/Unix-sources/" target="_blank"&gt;http://www.circlingcycle.com.au/Unix-sources/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 02 Jul 2008 20:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/host-name-requirementts/m-p/4225941#M327983</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-07-02T20:46:56Z</dc:date>
    </item>
  </channel>
</rss>

