<?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: nslookup problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882228#M580488</link>
    <description>This is because the server has a lookup order for hostname resolution like&lt;BR /&gt;first DNS then local hosts file.&lt;BR /&gt;this should be configured under /etc/nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;Now when you do a nslookup it reaches the DNS and tries to resolve the hostname "hps1_dc" but this could not be resolved with the DNS server as the DNS server has no entry for the server hps1_dc.&lt;BR /&gt;So it goes next to the local hosts file to resolve the hostname hps1_dc and finds it there.</description>
    <pubDate>Wed, 15 Jan 2003 07:22:11 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2003-01-15T07:22:11Z</dc:date>
    <item>
      <title>nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882227#M580487</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I try to nslookup the server, it shows the below:&lt;BR /&gt;$ nslookup hps1_dc&lt;BR /&gt;*** Can't find address for server hps1_dc: Server failed&lt;BR /&gt;Using /etc/hosts on:  hps1_dc&lt;BR /&gt;&lt;BR /&gt;looking up FILES&lt;BR /&gt;Name:    hps1_dc&lt;BR /&gt;Address:  10.16.1.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why it shows: "*** Can't find address for server hps1_dc: Server failed&lt;BR /&gt;Using /etc/hosts on:  hps1_dc"&lt;BR /&gt;&lt;BR /&gt;nslookup for other server does not show this message.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jan 2003 07:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882227#M580487</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-01-15T07:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882228#M580488</link>
      <description>This is because the server has a lookup order for hostname resolution like&lt;BR /&gt;first DNS then local hosts file.&lt;BR /&gt;this should be configured under /etc/nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;Now when you do a nslookup it reaches the DNS and tries to resolve the hostname "hps1_dc" but this could not be resolved with the DNS server as the DNS server has no entry for the server hps1_dc.&lt;BR /&gt;So it goes next to the local hosts file to resolve the hostname hps1_dc and finds it there.</description>
      <pubDate>Wed, 15 Jan 2003 07:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882228#M580488</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-01-15T07:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882229#M580489</link>
      <description>Hi Manikandan,&lt;BR /&gt;&lt;BR /&gt;There is no dns server running in our systems. And I found the nsswitch.conf file only on the hps1_dc server, no other server has it. So, they don't have any problem in the nslookup.&lt;BR /&gt;&lt;BR /&gt;What to do? How can I change the nslookup's quary so it will not look in the nsswitch.conf file ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Richard &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jan 2003 08:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882229#M580489</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-01-15T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882230#M580490</link>
      <description>Try this config in your /etc/nsswitch.conf file&lt;BR /&gt;&lt;BR /&gt;# more /etc/nsswitch.conf &lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] &lt;BR /&gt;&lt;BR /&gt;To test startusing 'nslookup' that is certainly included in your /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;If you have an /etc/resolv.conf file you may wish to remove it.</description>
      <pubDate>Wed, 15 Jan 2003 08:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882230#M580490</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-01-15T08:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882231#M580491</link>
      <description>Inside your nsswitch.conf file &lt;BR /&gt;&lt;BR /&gt;just use hosts &lt;BR /&gt;&lt;BR /&gt;for the files line entry as Micheal suggested.&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Wed, 15 Jan 2003 08:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882231#M580491</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-01-15T08:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882232#M580492</link>
      <description>Hi Michael and Manikandan,&lt;BR /&gt;&lt;BR /&gt;1)I have nsswitch.conf file which has following entry:&lt;BR /&gt;&lt;BR /&gt;hps1_dc /etc #cat nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;hosts:          files [NOTFOUND=continue] dns &lt;BR /&gt;&lt;BR /&gt;Should I change it to:&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue UNAVAIL=return TRYAGAIN=return] &lt;BR /&gt;&lt;BR /&gt;Will this change nslookup behavior to look only on hosts file?&lt;BR /&gt;&lt;BR /&gt;2) There is no resolv.conf file in etc dir. it has been changed to resolv.conf.copy, so it has no effect, I guess.&lt;BR /&gt;&lt;BR /&gt;hps1_dc /etc #cat resolv.conf.copy&lt;BR /&gt;search cdbl.com&lt;BR /&gt;nameserver 10.16.1.2   &lt;BR /&gt;&lt;BR /&gt;THanks&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 15 Jan 2003 08:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882232#M580492</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-01-15T08:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882233#M580493</link>
      <description>1)yes&lt;BR /&gt;2)yes</description>
      <pubDate>Wed, 15 Jan 2003 09:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882233#M580493</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-01-15T09:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882234#M580494</link>
      <description>Hi Manikandan and Michael,&lt;BR /&gt;&lt;BR /&gt;Thanks for your help, problem solved by changing nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 15 Jan 2003 09:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882234#M580494</guid>
      <dc:creator>Rgomes</dc:creator>
      <dc:date>2003-01-15T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882235#M580495</link>
      <description>With the limited information on offer I would say check your "/etc/resolv.conf" and "nsswitch.conf" files. I looks as though it either can't reach the DNS server, or the resolver order is set to /etc/hosts first.&lt;BR /&gt;&lt;BR /&gt;I think the best thing is to provide your "/etc/resolv.conf", "nsswitch.conf", and an extract from "/etc/hosts".&lt;BR /&gt;&lt;BR /&gt;You can also run nslookup with the "-d" switch and that should show exactly what the named process is doing.</description>
      <pubDate>Thu, 16 Jan 2003 06:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/2882235#M580495</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2003-01-16T06:27:30Z</dc:date>
    </item>
  </channel>
</rss>

