<?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: name resolution issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741633#M67795</link>
    <description>First you can resolve the host by /etc/hosts file then you can go ahead with dns.&lt;BR /&gt;&lt;BR /&gt;move your /etc/resolv.conf file.&lt;BR /&gt;take a copy of your /etc/nsswitch file &lt;BR /&gt;#mv /etc/resolv.conf /etc/resolv.conf.old&lt;BR /&gt;#cp /etc/nsswitch.conf /etc/nsswitch.conf.currentdate&lt;BR /&gt;#cp /etc/nsswitch.files /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;check whether you have entries for the localhost  in your /etc/hosts file&lt;BR /&gt;&lt;BR /&gt;check whether it is resolving now.If it resolves make the old changes and try making it resolve using dns.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;G Manikandan</description>
    <pubDate>Tue, 11 Jun 2002 04:00:59 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2002-06-11T04:00:59Z</dc:date>
    <item>
      <title>name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741630#M67792</link>
      <description>I have a very funny problem.  I have one hpux host, that it cannot resolve it's own name&lt;BR /&gt;&lt;BR /&gt;# hostname&lt;BR /&gt;tadb&lt;BR /&gt;# nslookup&lt;BR /&gt;Using /etc/hosts on:  tadb&lt;BR /&gt;&lt;BR /&gt;&amp;gt; tadb &lt;BR /&gt;Using /etc/hosts on:  tadb&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    tadb.com&lt;BR /&gt;Address:  172.16.15.80&lt;BR /&gt;Aliases:  tadb&lt;BR /&gt;&lt;BR /&gt;&amp;gt; tadb.com&lt;BR /&gt;Using /etc/hosts on:  tadb&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Trying DNS&lt;BR /&gt;*** dns01.com can't find tadb.esc: Non-existent domain&lt;BR /&gt;&amp;gt; &lt;BR /&gt;&lt;BR /&gt;But my nsswitch.conf and seems to be fine.&lt;BR /&gt;# cat /etc/nsswitch.conf&lt;BR /&gt;hosts:  files [NOTFOUND=continue UNAVAIL=return] dns [NOTFOUND=return UNAVAIL=return TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;171.16.15.84    tadb.esc      tadb&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 00:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741630#M67792</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2002-06-11T00:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741631#M67793</link>
      <description>try setting the UNAVAIL to continue in nsswitch.conf as well.&lt;BR /&gt;&lt;BR /&gt;This will let you know if it finds it but thinks it's unavailable.</description>
      <pubDate>Tue, 11 Jun 2002 00:40:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741631#M67793</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-06-11T00:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741632#M67794</link>
      <description>Hi Kholikt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The issue can be &lt;BR /&gt;&lt;BR /&gt;1. Improper resolv.conf , ie does it point to the coreect nameserver .&lt;BR /&gt;&lt;BR /&gt;2. DNS entry itself in the naeserver being pointed by resolv.conf.&lt;BR /&gt;&lt;BR /&gt;Try this , jsut rename the resolv.conf to abc.conf&lt;BR /&gt;and try to do a nslookup , if the server checks for /etc/hosts and resolvs it corectly then please do aping to the neamserver and then try checking hte enteries there in.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 11 Jun 2002 02:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741632#M67794</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-06-11T02:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741633#M67795</link>
      <description>First you can resolve the host by /etc/hosts file then you can go ahead with dns.&lt;BR /&gt;&lt;BR /&gt;move your /etc/resolv.conf file.&lt;BR /&gt;take a copy of your /etc/nsswitch file &lt;BR /&gt;#mv /etc/resolv.conf /etc/resolv.conf.old&lt;BR /&gt;#cp /etc/nsswitch.conf /etc/nsswitch.conf.currentdate&lt;BR /&gt;#cp /etc/nsswitch.files /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;check whether you have entries for the localhost  in your /etc/hosts file&lt;BR /&gt;&lt;BR /&gt;check whether it is resolving now.If it resolves make the old changes and try making it resolve using dns.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;G Manikandan</description>
      <pubDate>Tue, 11 Jun 2002 04:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741633#M67795</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-11T04:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741634#M67796</link>
      <description>Hi Kholikt,&lt;BR /&gt;&lt;BR /&gt;I guess Omniback is involved in this story as well. See the following thread as well:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc072107d277ad611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc072107d277ad611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kurt</description>
      <pubDate>Tue, 11 Jun 2002 04:43:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741634#M67796</guid>
      <dc:creator>Kurt Beyers.</dc:creator>
      <dc:date>2002-06-11T04:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741635#M67797</link>
      <description>From what you sent us, I really can't tell the problem. It would be helpful if you included the /etc/resolv.conf file and grep tadb from /etc/hosts i.e.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;grep tadb /etc/hosts &lt;BR /&gt;&lt;BR /&gt;But it looks like the system doesn't know it's FQDN  (Fully Qualified Domain Name) like &lt;BR /&gt;tadb.your.com.&lt;BR /&gt;&lt;BR /&gt;There are a couple of ways for the computer to find it's own name. I suggest putting the first entry in /etc/hosts as:&lt;BR /&gt;172.16.15.80 tadb.your.com tadb&lt;BR /&gt;&lt;BR /&gt;and having your domain set in the resolv.conf file:&lt;BR /&gt;&lt;BR /&gt;domain your.com&lt;BR /&gt;server 123.234.123.234 #your Nameserver address&lt;BR /&gt;&lt;BR /&gt;Your /etc/nsswitch.conf file says to try /etc/hosts first then DNS second. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jun 2002 13:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741635#M67797</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-06-12T13:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741636#M67798</link>
      <description>See what the tadb entry in /etc/hosts looks like: &lt;BR /&gt;[171.16.15.84 tadb.com tadb]?&lt;BR /&gt;&lt;BR /&gt;This could be different from the hostname in /etc/nsswitch.&lt;BR /&gt;&lt;BR /&gt;What is the proper fully qualified DNS name of the tadb host: tadb.esc or tadb.com ?</description>
      <pubDate>Wed, 12 Jun 2002 16:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741636#M67798</guid>
      <dc:creator>Jack Werner</dc:creator>
      <dc:date>2002-06-12T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741637#M67799</link>
      <description>Sorry,&lt;BR /&gt;    I specified the wrong IP address for tadb in my prior post. I looks to me like the tadb alias is assigned to 2 different IP addresses/hosts.</description>
      <pubDate>Wed, 12 Jun 2002 16:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741637#M67799</guid>
      <dc:creator>Jack Werner</dc:creator>
      <dc:date>2002-06-12T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: name resolution issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741638#M67800</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here's a TIP that might help you:&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11.0 and up, use nsquery instead of nslookup to look up hosts, passwd, and group entries.  nsquery uses the actual gethostbyXXX getpwdXXX and getgrXXX interfaces, wheres nslookup does not.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;nsquery hosts jbox&lt;BR /&gt;nsquery passwd hackley&lt;BR /&gt;&lt;BR /&gt;# nsquery hosts jbox&lt;BR /&gt;&lt;BR /&gt;Using "files [NOTFOUND=continue] dns" for the hosts policy. &lt;BR /&gt;&lt;BR /&gt;Searching /etc/hosts for jbox &lt;BR /&gt;Hostname: jbox &lt;BR /&gt;Aliases: &lt;BR /&gt;Address: 10.10.10.204 &lt;BR /&gt;Switch configuration: Terminates Search &lt;BR /&gt;&lt;BR /&gt;# nsquery passwd hackley&lt;BR /&gt;&lt;BR /&gt;Using "files" for the passwd policy. &lt;BR /&gt;&lt;BR /&gt;Searching /etc/passwd for hackley &lt;BR /&gt;User name: hackley &lt;BR /&gt;User Id: 101 &lt;BR /&gt;Group Id: 20 &lt;BR /&gt;Gecos:  &lt;BR /&gt;Home Directory: /home/hackley &lt;BR /&gt;Shell: /sbin/sh &lt;BR /&gt;&lt;BR /&gt;Switch configuration: Terminates Search &lt;BR /&gt;&lt;BR /&gt;Hope you find this helpful,&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Brian Hackley</description>
      <pubDate>Thu, 13 Jun 2002 12:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution-issue/m-p/2741638#M67800</guid>
      <dc:creator>Brian Hackley</dc:creator>
      <dc:date>2002-06-13T12:40:49Z</dc:date>
    </item>
  </channel>
</rss>

