<?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: Valid hostnames in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358224#M345710</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Hyphen is perfectly valid character in hostnames.&lt;BR /&gt;&lt;BR /&gt;Use upper and lower case alphabet,&lt;BR /&gt;numerals, hyphen and dot.&lt;BR /&gt;&lt;BR /&gt;Yes, eight characters in hostnames&lt;BR /&gt;is the limitation in most Unices.&lt;BR /&gt;It can be extended in HP-UX 11.31&lt;BR /&gt;through dynamic kernel parameter&lt;BR /&gt;expanded_node_host_names but you need&lt;BR /&gt;to ensure that your applications can&lt;BR /&gt;support it!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Mon, 16 Feb 2009 20:52:42 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2009-02-16T20:52:42Z</dc:date>
    <item>
      <title>Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358220#M345706</link>
      <description>Can I use hyphen in a hostname on a HPUX 11.23 PA-RISC &lt;BR /&gt;&lt;BR /&gt;US-APP-LIVE01</description>
      <pubDate>Fri, 13 Feb 2009 11:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358220#M345706</guid>
      <dc:creator>H_16</dc:creator>
      <dc:date>2009-02-13T11:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358221#M345707</link>
      <description>Do a man on uname and on hostname.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 13 Feb 2009 12:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358221#M345707</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-13T12:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358222#M345708</link>
      <description>After that somewhat cursory answer, I did a little reading myself and I can't find any specific exclusion of hyphens in a name.  The length , however, seems to be 8 characters as a general rule.  I believe this can be altered/extended but it is not usually recommended.&lt;BR /&gt;&lt;BR /&gt;My own recommendation would be to stick with an 8 character, hyphen-less name.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 13 Feb 2009 12:29:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358222#M345708</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2009-02-13T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358223#M345709</link>
      <description>I have a whole family of machines with "-".  The only problem was a perl script that wasn't expecting that char.</description>
      <pubDate>Fri, 13 Feb 2009 12:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358223#M345709</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-13T12:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358224#M345710</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Hyphen is perfectly valid character in hostnames.&lt;BR /&gt;&lt;BR /&gt;Use upper and lower case alphabet,&lt;BR /&gt;numerals, hyphen and dot.&lt;BR /&gt;&lt;BR /&gt;Yes, eight characters in hostnames&lt;BR /&gt;is the limitation in most Unices.&lt;BR /&gt;It can be extended in HP-UX 11.31&lt;BR /&gt;through dynamic kernel parameter&lt;BR /&gt;expanded_node_host_names but you need&lt;BR /&gt;to ensure that your applications can&lt;BR /&gt;support it!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Mon, 16 Feb 2009 20:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358224#M345710</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-02-16T20:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358225#M345711</link>
      <description>To be clear...&lt;BR /&gt;&lt;BR /&gt;hostname can be set to more than 8 chars, uname cannot.  It is strongly *recommended* that uname and hostname return the same value.&lt;BR /&gt;&lt;BR /&gt;That said, you can have plenty of aliases set to the same IP address.</description>
      <pubDate>Tue, 17 Feb 2009 23:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358225#M345711</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2009-02-17T23:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Valid hostnames</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358226#M345712</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Yes, Bob is right.&lt;BR /&gt;&lt;BR /&gt;I actually check for presence of hostname and uname settings in config file.&lt;BR /&gt;&lt;BR /&gt;Here is part of my own HP-UX audits:&lt;BR /&gt;&lt;BR /&gt;CHECKING NODENAME LENGTH&lt;BR /&gt;________________________&lt;BR /&gt;AUDIT-PASS: Nodename length (5 for ia644) satisfies recommended limit of 8 characters&lt;BR /&gt;AUDIT-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;AUDIT-PASS: Valid characters in hostname ia644&lt;BR /&gt;AUDIT-NOTE: RFCs define valid characters as 'a-zA-Z0-9.-'&lt;BR /&gt;&lt;BR /&gt;AUDIT-INFO: Hostname ia644 contains alphabetic characters only&lt;BR /&gt;&lt;BR /&gt;AUDIT-INFO: Variable "HOSTNAME" in /etc/rc.config.d/netconf set to "ia644"&lt;BR /&gt;&lt;BR /&gt;AUDIT-INFO: Variable "NODENAME" not set in /etc/rc.config.d/netconf&lt;BR /&gt;&lt;BR /&gt;Perl script is here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt" target="_blank"&gt;http://www.circlingcycle.com.au/Unix-sources/HP-UX-check-OAT.pl.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 18 Feb 2009 07:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/valid-hostnames/m-p/4358226#M345712</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2009-02-18T07:08:55Z</dc:date>
    </item>
  </channel>
</rss>

