<?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: /etc/hosts didn't resolve hostname in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136160#M451331</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check the dns configuration.&lt;BR /&gt;&lt;BR /&gt;you need to add a route to the other network domain.&lt;BR /&gt;&lt;BR /&gt;check out route add this can also be done through sam on hp-ux&lt;BR /&gt;&lt;BR /&gt;use netstat -rn on a machine on the network and add the route entries to the machine you have. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;-VRS-&lt;BR /&gt;</description>
    <pubDate>Sat, 18 Oct 2008 06:14:36 GMT</pubDate>
    <dc:creator>rajv</dc:creator>
    <dc:date>2008-10-18T06:14:36Z</dc:date>
    <item>
      <title>/etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136158#M451329</link>
      <description>dear hpux guru,&lt;BR /&gt;would like to seek your advice.&lt;BR /&gt;i have add entry inside /etc/hosts, but when i ping the hostname it says unknown host. i check the permission of /etc/hosts, all are same with the working server. the only different is this non-working server is hp integrity virtual machine. do we miss anything during the configuration that could cause the /etc/hosts didn't resolve the hostname.&lt;BR /&gt;hope to hear from you. thank you</description>
      <pubDate>Sat, 18 Oct 2008 05:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136158#M451329</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-10-18T05:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136159#M451330</link>
      <description>additional update:&lt;BR /&gt;our other ivm is working. only this ivm is not working. what cause this? hope to hear from you.</description>
      <pubDate>Sat, 18 Oct 2008 05:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136159#M451330</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-10-18T05:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136160#M451331</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;check the dns configuration.&lt;BR /&gt;&lt;BR /&gt;you need to add a route to the other network domain.&lt;BR /&gt;&lt;BR /&gt;check out route add this can also be done through sam on hp-ux&lt;BR /&gt;&lt;BR /&gt;use netstat -rn on a machine on the network and add the route entries to the machine you have. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;-VRS-&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Oct 2008 06:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136160#M451331</guid>
      <dc:creator>rajv</dc:creator>
      <dc:date>2008-10-18T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136161#M451332</link>
      <description>&lt;BR /&gt;other wise check with your network team to give the permission to access.&lt;BR /&gt;&lt;BR /&gt;Thanx&lt;BR /&gt;-VRS-</description>
      <pubDate>Sat, 18 Oct 2008 06:16:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136161#M451332</guid>
      <dc:creator>rajv</dc:creator>
      <dc:date>2008-10-18T06:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136162#M451333</link>
      <description>HP-UX version?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i have add entry inside /etc/hosts [...]&lt;BR /&gt;&lt;BR /&gt;I can't see it.  Nor can I see what you did&lt;BR /&gt;as your "ping" command.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] do we miss anything during the&lt;BR /&gt;&amp;gt; configuration [...]&lt;BR /&gt;&lt;BR /&gt;How could anyone know what you did (or&lt;BR /&gt;missed)?  My psychic powers are too weak.&lt;BR /&gt;&lt;BR /&gt;What's in /etc/nsswitch.conf?  (I can't see&lt;BR /&gt;that, either.)  "man nsswitch.conf".  It's&lt;BR /&gt;possible (although unlikely) that you're not&lt;BR /&gt;looking at /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;Strictly speaking, /etc/hosts does not&lt;BR /&gt;resolve host names.  The OS resolves host&lt;BR /&gt;names, and it does so according to the&lt;BR /&gt;specifications in /etc/nsswitch.conf, which&lt;BR /&gt;may or may not tell it to look at /etc/hosts,&lt;BR /&gt;NIS, DNS, LDAP, and so on.  Also what to do&lt;BR /&gt;if a name is not found anywhere in the&lt;BR /&gt;search.</description>
      <pubDate>Sat, 18 Oct 2008 12:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136162#M451333</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-10-18T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136163#M451334</link>
      <description>Use the nsquery command first:&lt;BR /&gt; &lt;BR /&gt;nsquery hosts &lt;NEW_ENTRY_IN_HOSTS_FILE&gt;&lt;BR /&gt; &lt;BR /&gt;That will show you exactly how the OS will lookup a hostname. If you have one or more DNS servers in /etc/resolv.conf, then the default is to completely ignore /etc/hosts. Read the man page on nsswitch.conf and then use the recommended line for hostname resolution:&lt;BR /&gt; &lt;BR /&gt;hosts:        files [NOTFOUND=continue UNAVAIL=continue] dns &lt;BR /&gt; &lt;BR /&gt;This is recommended because it is much more efficient and timely changes can be made without bothering the DNS support team.&lt;/NEW_ENTRY_IN_HOSTS_FILE&gt;</description>
      <pubDate>Sat, 18 Oct 2008 22:35:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136163#M451334</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-10-18T22:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136164#M451335</link>
      <description>Hi Almond.&lt;BR /&gt;&lt;BR /&gt;could you please check /etc/nsswitch.conf file and send the output.&lt;BR /&gt;&lt;BR /&gt;If you are not using DNS or LDAP please overwrite /etc/nsswitch.files to /etc/nsswitch.conf as given below.&lt;BR /&gt;&lt;BR /&gt;#cp /etc/nsswitch.files /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
      <pubDate>Sun, 19 Oct 2008 05:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136164#M451335</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2008-10-19T05:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136165#M451336</link>
      <description>dear hpux gurus,&lt;BR /&gt;we are not using dns, we are resolving from /etc/hosts. &lt;BR /&gt;&lt;BR /&gt;from our /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# @(#)B11.23_LR&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# does not use any name services.&lt;BR /&gt;#&lt;BR /&gt;passwd:       files&lt;BR /&gt;group:        files&lt;BR /&gt;hosts:        files&lt;BR /&gt;ipnodes:      files&lt;BR /&gt;services:     files&lt;BR /&gt;networks:     files&lt;BR /&gt;protocols:    files&lt;BR /&gt;rpc:          files&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;&lt;BR /&gt;hope to hear from you. thank you</description>
      <pubDate>Sun, 19 Oct 2008 06:03:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136165#M451336</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-10-19T06:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136166#M451337</link>
      <description># nsquery hosts flamingo&lt;BR /&gt;&lt;BR /&gt;Using "files" for the hosts policy.&lt;BR /&gt;&lt;BR /&gt;Searching /etc/hosts for flamingo&lt;BR /&gt;flamingo was NOTFOUND&lt;BR /&gt;&lt;BR /&gt;Switch configuration: Allows fallback&lt;BR /&gt;&lt;BR /&gt;All name services have been searched&lt;BR /&gt;&lt;BR /&gt;but inside /etc/hosts, the hostname flamingo and the ip is there. ping the ip is working, but ping the hostname is not working. there is no firewall in between either. hope to hear from you. thank you</description>
      <pubDate>Sun, 19 Oct 2008 06:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136166#M451337</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-10-19T06:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136167#M451338</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It looks like your /etc/hosts is a bit corrupted.&lt;BR /&gt;Can you delete the record with flamingo and verify that all entries in the /etc/hosts are resolved with nslookup, e.g.&lt;BR /&gt;nslookup localhost&lt;BR /&gt;nslookup anotherbird , whatever&lt;BR /&gt;Check this for records before and afer the flamingo record.&lt;BR /&gt;If everything is OK, add flamingo record and&lt;BR /&gt;run &lt;BR /&gt;nslookup flamingo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sun, 19 Oct 2008 07:03:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136167#M451338</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2008-10-19T07:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts didn't resolve hostname</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136168#M451339</link>
      <description>thank you. :)</description>
      <pubDate>Sun, 19 Oct 2008 08:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-didn-t-resolve-hostname/m-p/5136168#M451339</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2008-10-19T08:29:42Z</dc:date>
    </item>
  </channel>
</rss>

