<?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 lookup issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230744#M539731</link>
    <description>Torsten:&lt;BR /&gt;&lt;BR /&gt;I am not trying to ping through the firewall, but it appears (to me that is) that it is trying to ping the public IP; which would be going out the firewall then back in.</description>
    <pubDate>Thu, 10 Jul 2008 12:20:01 GMT</pubDate>
    <dc:creator>lbdwag</dc:creator>
    <dc:date>2008-07-10T12:20:01Z</dc:date>
    <item>
      <title>hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230734#M539721</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I am attempting to install an 11.31 UX server (Integrity rx3600) and I cannot get the system to resolve its' hostname to the correct IP. &lt;BR /&gt; &lt;BR /&gt;The system is behind a firewall, so it has a private IP (the one that the system has, ex: 10.1.1.10) and a public IP 20.1.1.10, which is in DNS. When I use the host command it comes up with the public IP. I cannot put the private IP in DNS.&lt;BR /&gt;&lt;BR /&gt;The /etc/host file has the private IP listed, and the /etc/nsswitch.conf file has files listed 1st. &lt;BR /&gt;&lt;BR /&gt;hosts returns the public IP.&lt;BR /&gt;nslookup private-IP-Address returns:&lt;BR /&gt;#############################################&lt;BR /&gt;Using /etc/hosts on: hostname.domain.com&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;***dnsserver.domain.com can't find private-IP-Address: Non-existent domain&lt;BR /&gt;#############################################&lt;BR /&gt;&lt;BR /&gt;This makes me think that it is not even using the files....&lt;BR /&gt;&lt;BR /&gt;How do we get the system to resolve its' name as the private IP?</description>
      <pubDate>Wed, 09 Jul 2008 18:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230734#M539721</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-09T18:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230735#M539722</link>
      <description>Hi Don:&lt;BR /&gt;&lt;BR /&gt;This is what the alias is for in both /etc/hosts and the DNS.  Something like:&lt;BR /&gt;&lt;BR /&gt;host1 123.123.123.123 host2&lt;BR /&gt;host2 234.234.234.234 host1</description>
      <pubDate>Wed, 09 Jul 2008 18:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230735#M539722</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-07-09T18:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230736#M539723</link>
      <description>Have you talked to your networking person.  Can't they put in a line to "flip" the private IP to the public IP for you in the firewall.&lt;BR /&gt;&lt;BR /&gt;/rcw</description>
      <pubDate>Wed, 09 Jul 2008 18:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230736#M539723</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2008-07-09T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230737#M539724</link>
      <description>Your /etc/nsswitch.conf should have an entry like this.&lt;BR /&gt;&lt;BR /&gt;hosts:        files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 18:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230737#M539724</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-07-09T18:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230738#M539725</link>
      <description>/etc/hosts:&lt;BR /&gt;&lt;BR /&gt;# @(#)B.11.31_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $&lt;BR /&gt;#&lt;BR /&gt;# The form for each entry is:&lt;BR /&gt;# &lt;INTERNET address=""&gt;    &lt;OFFICIAL hostname=""&gt; &lt;ALIASES&gt;&lt;BR /&gt;#&lt;BR /&gt;# For example:&lt;BR /&gt;# 192.1.2.34    hpfcrm  loghost&lt;BR /&gt;#&lt;BR /&gt;# See the hosts(4) manual page for more information.&lt;BR /&gt;# Note: The entries cannot be preceded by a space.&lt;BR /&gt;#       The format described in this file is the correct format.&lt;BR /&gt;#       The original Berkeley manual page contains an error in&lt;BR /&gt;#       the format description.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;20.1.1.12   dns.domain.com  dns&lt;BR /&gt;10.1.1.12    ux.domain.com  ux2&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/nsswitch.conf:&lt;BR /&gt;#&lt;BR /&gt;# /etc/nsswitch.hp_defaults:&lt;BR /&gt;#&lt;BR /&gt;# @(#)B.11.31_LR&lt;BR /&gt;#&lt;BR /&gt;# An example file that could be copied over to /etc/nsswitch.conf; it&lt;BR /&gt;# uses NIS (YP) in conjunction with files.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;passwd:       compat&lt;BR /&gt;group:        compat&lt;BR /&gt;hosts:        files dns [NOTFOUND=return] nis [NOTFOUND=return]&lt;BR /&gt;ipnodes:      dns [NOTFOUND=return] nis [NOTFOUND=return] files&lt;BR /&gt;networks:     nis [NOTFOUND=return] files&lt;BR /&gt;protocols:    nis [NOTFOUND=return] files&lt;BR /&gt;rpc:          nis [NOTFOUND=return] files&lt;BR /&gt;publickey:    nis [NOTFOUND=return] files&lt;BR /&gt;netgroup:     nis [NOTFOUND=return] files&lt;BR /&gt;automount:    files nis&lt;BR /&gt;aliases:      files nis&lt;BR /&gt;services:     nis [NOTFOUND=return] files&lt;/ALIASES&gt;&lt;/OFFICIAL&gt;&lt;/INTERNET&gt;</description>
      <pubDate>Wed, 09 Jul 2008 18:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230738#M539725</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-09T18:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230739#M539726</link>
      <description>Two items just for fun.&lt;BR /&gt;&lt;BR /&gt;Try nsquery hosts 10.1.1.10&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;If you are NOT using NIS then get rid of the references in /etc/nsswitch.conf&lt;BR /&gt;cp /etc/nsswitch.file /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;test again.&lt;BR /&gt;&lt;BR /&gt;Then append the files line with dns.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230739#M539726</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-07-09T19:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230740#M539727</link>
      <description>I don't think your /etc/hosts file is correct unless you've cut out the server's hostname.  Which should be the second entry after the reserve name loopback.&lt;BR /&gt;&lt;BR /&gt;# @(#)B11.23_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $&lt;BR /&gt;#&lt;BR /&gt;# The form for each entry is:&lt;BR /&gt;# &lt;INTERNET address=""&gt; &lt;OFFICIAL hostname=""&gt; &lt;ALIASES&gt;&lt;BR /&gt;#&lt;BR /&gt;# For example:&lt;BR /&gt;# 192.1.2.34 hpfcrm loghost&lt;BR /&gt;#&lt;BR /&gt;# See the hosts(4) manual page for more information.&lt;BR /&gt;# Note: The entries cannot be preceded by a space.&lt;BR /&gt;# The format described in this file is the correct format.&lt;BR /&gt;# The original Berkeley manual page contains an error in&lt;BR /&gt;# the format description.&lt;BR /&gt;#&lt;BR /&gt;XXX.XXX.XXX.XXX localhost loopback&lt;BR /&gt;XXX.XXX.XXX.XXX machine1 MACHINE1 MACHINE1. &lt;BR /&gt;XXX.XXX.XXX.XXX MACHINE2 machine2 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Compare your /etc/hosts file with the default under /usr/newconfig/etc/hosts to be sure.&lt;/ALIASES&gt;&lt;/OFFICIAL&gt;&lt;/INTERNET&gt;</description>
      <pubDate>Wed, 09 Jul 2008 19:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230740#M539727</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-07-09T19:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230741#M539728</link>
      <description>Tim:&lt;BR /&gt;&lt;BR /&gt;$ nsquery hosts 10.1.1.12&lt;BR /&gt;&lt;BR /&gt;Using "files dns [NOTFOUND=return] nis [NOTFOUND=return] " for the hosts policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Searching /etc/hosts for 10.1.1.12&lt;BR /&gt;Hostname: ux.domain.com&lt;BR /&gt;Aliases: ux&lt;BR /&gt;Address: 10.1.1.12&lt;BR /&gt;Switch configuration: Terminates Search&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also ran:&lt;BR /&gt;&lt;BR /&gt;$ nsquery hosts ux2&lt;BR /&gt;&lt;BR /&gt;Using "files dns [NOTFOUND=return] nis [NOTFOUND=return] " for the hosts policy.&lt;BR /&gt;&lt;BR /&gt;Searching /etc/hosts for ux2&lt;BR /&gt;Hostname: ux.domain.com&lt;BR /&gt;Aliases: ux&lt;BR /&gt;Address: 10.1.1.12&lt;BR /&gt;Switch configuration: Terminates Search &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This appears that it is resolving the IP and host name correctly. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I run ping ux2 it returns:&lt;BR /&gt;PING ux2.colgate.edu: 64 byte packets&lt;BR /&gt;&lt;BR /&gt; ctrl-c&lt;BR /&gt;&lt;BR /&gt;----ux2.colgate.edu PING Statistics----&lt;BR /&gt;# packets transmitted, 0 packets received, 100% packet loss&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe I am barking up the wrong tree, but does ping use the same resolver as nsquery?</description>
      <pubDate>Thu, 10 Jul 2008 12:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230741#M539728</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230742#M539729</link>
      <description>Are you trying to ping through the firewall?</description>
      <pubDate>Thu, 10 Jul 2008 12:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230742#M539729</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-10T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230743#M539730</link>
      <description>Michael:&lt;BR /&gt;&lt;BR /&gt;The only difference that I see between my /etc/hosts file and the example that you posted is that my list is upside down. &lt;BR /&gt;&lt;BR /&gt;1st entry is DNS server&lt;BR /&gt;2nd entry is hostname&lt;BR /&gt;3rd entry is loopback&lt;BR /&gt;&lt;BR /&gt;I would not think that the order would be that picky; we used the configuration program (I cannot remember the name right now) to do all of the network setup....</description>
      <pubDate>Thu, 10 Jul 2008 12:14:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230743#M539730</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T12:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230744#M539731</link>
      <description>Torsten:&lt;BR /&gt;&lt;BR /&gt;I am not trying to ping through the firewall, but it appears (to me that is) that it is trying to ping the public IP; which would be going out the firewall then back in.</description>
      <pubDate>Thu, 10 Jul 2008 12:20:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230744#M539731</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T12:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230745#M539732</link>
      <description>if you want to resolve your host add entries in /etc/resolv.conf&lt;BR /&gt;&lt;BR /&gt;domain &lt;DOMAIN_NAME&gt;&lt;BR /&gt;nameserver &lt;NAME_SERVER_IP&gt;&lt;BR /&gt;nameserver &lt;NAME_SERVER_IP_IF secondary="" dns="" available=""&gt;&lt;BR /&gt;&lt;/NAME_SERVER_IP_IF&gt;&lt;/NAME_SERVER_IP&gt;&lt;/DOMAIN_NAME&gt;</description>
      <pubDate>Thu, 10 Jul 2008 12:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230745#M539732</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-07-10T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230746#M539733</link>
      <description>ahsan:&lt;BR /&gt;&lt;BR /&gt;/etc/resolv.conf:&lt;BR /&gt;&lt;BR /&gt;domain &amp;lt;&lt;DOMAIN.COM&gt;&amp;gt;&lt;BR /&gt;nameserver 20.1.1.100&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I thought this was only for the DNS server(s) entries? How would I add in my host?&lt;BR /&gt;&lt;BR /&gt;domain ux&lt;BR /&gt;namerserver 10.1.1.12&lt;BR /&gt;&lt;BR /&gt;?????????????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DOMAIN.COM&gt;</description>
      <pubDate>Thu, 10 Jul 2008 12:50:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230746#M539733</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230747#M539734</link>
      <description>to all,&lt;BR /&gt;&lt;BR /&gt;This is my 1st exposure to HP-UX, so if I seem a little green hopefully it will make a bit of sense...&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 12:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230747#M539734</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T12:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230748#M539735</link>
      <description>Tech support said that the resolving in "host ux" is a 'bug'.&lt;BR /&gt;&lt;BR /&gt;However for ping ux to get the correct IP, it was the ipnodes line in /etc/nsswitch.conf. It was set to use DNS -&amp;gt; NIS -&amp;gt; files.</description>
      <pubDate>Thu, 10 Jul 2008 14:13:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230748#M539735</guid>
      <dc:creator>lbdwag</dc:creator>
      <dc:date>2008-07-10T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: hostname lookup issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230749#M539736</link>
      <description>One of the quirks with 11.31 is that if nslookup cannot resolve your name server defined in /etc/resolv.conf both reverse and forward then nslookup and perhaps others will not function properly.&lt;BR /&gt;&lt;BR /&gt;e.g.  DNS server must have entries for both forward and reverse IPs and match.&lt;BR /&gt;&lt;BR /&gt;Does this effect other network utilities ?  Maybe.&lt;BR /&gt;&lt;BR /&gt;Either way.  Fix your nsswitch.conf and remove all the NIS entries.  Make sure you can lookup up both the forward and reverse addresses of any named servers configured in resolv.conf and get nslookup working properly.&lt;BR /&gt;&lt;BR /&gt;At least then we have a good starting point.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hostname-lookup-issue/m-p/4230749#M539736</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-07-10T14:25:00Z</dc:date>
    </item>
  </channel>
</rss>

