<?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/3331005#M189044</link>
    <description>Update DNS entry for server1 on DNS server. COnfirm you are able to see DNS server as well.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
    <pubDate>Wed, 14 Jul 2004 04:29:35 GMT</pubDate>
    <dc:creator>Bharat Katkar</dc:creator>
    <dc:date>2004-07-14T04:29:35Z</dc:date>
    <item>
      <title>nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331004#M189043</link>
      <description>Hello&lt;BR /&gt;I have a problem on some machines:&lt;BR /&gt;&lt;BR /&gt;ok is: nslookup server1&lt;BR /&gt;output: name: server1&lt;BR /&gt;&lt;BR /&gt;fault:&lt;BR /&gt;&lt;BR /&gt;nslookup server2&lt;BR /&gt;output: server2.xxx.yyy.de&lt;BR /&gt;&lt;BR /&gt;where can I change this ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ralf</description>
      <pubDate>Wed, 14 Jul 2004 04:19:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331004#M189043</guid>
      <dc:creator>Ralf Buchhold</dc:creator>
      <dc:date>2004-07-14T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331005#M189044</link>
      <description>Update DNS entry for server1 on DNS server. COnfirm you are able to see DNS server as well.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 14 Jul 2004 04:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331005#M189044</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-14T04:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331006#M189045</link>
      <description>hai,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Make an entry in /etc/resolve.conf as&lt;BR /&gt; domain xxx.yyy.de&lt;BR /&gt;&lt;BR /&gt; or make an alias in /etc/hosts file&lt;BR /&gt; &lt;IP-ADDRES&gt; &lt;HOSTNAME.DOMAINNAME&gt; &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt; nslookup will process from /etc/nsswitch.conf file's hosts: &lt;FILE&gt;&lt;DNS&gt;&lt;LDAP&gt; etc entries.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Muthukumar.&lt;/LDAP&gt;&lt;/DNS&gt;&lt;/FILE&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME.DOMAINNAME&gt;&lt;/IP-ADDRES&gt;</description>
      <pubDate>Wed, 14 Jul 2004 04:32:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331006#M189045</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-14T04:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331007#M189046</link>
      <description>nsloookup directly queries nameservers defined in resolv.conf nothing else !&lt;BR /&gt;&lt;BR /&gt;Can u post the name records set for these two server's ?. It may be from two diffrent nameservers ... !&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 14 Jul 2004 04:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331007#M189046</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-14T04:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331008#M189047</link>
      <description>Yes,&lt;BR /&gt;rightly said by kapil, you need to check  /etc/resolv.conf file of your system.&lt;BR /&gt;It looks like this:&lt;BR /&gt;&lt;BR /&gt;domain abc.xyz.com&lt;BR /&gt;nameserver &lt;DNS server="" ip=""&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure server1 and server2 lies in same domain or else try adding domain of server1  and its DNS server IP address as above.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/DNS&gt;</description>
      <pubDate>Wed, 14 Jul 2004 04:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331008#M189047</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-14T04:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331009#M189048</link>
      <description>Hai,&lt;BR /&gt;&lt;BR /&gt; nslookup command resolves ip-address or hostname using the hosts: tag entries in /etc/nsswitch.conf file.&lt;BR /&gt;&lt;BR /&gt; make an entry in /etc/hosts as,&lt;BR /&gt; &lt;IP-ADDRESS&gt; server1.xxx.yyy.de server1&lt;BR /&gt;&lt;BR /&gt; if your file entry is at first.&lt;BR /&gt;&lt;BR /&gt; else do that change in /etc/resolv.conf as,&lt;BR /&gt; domain xxx.yyy.de&lt;BR /&gt; nameserver &lt;IP-ADDRESS of="" dns=""&gt;&lt;BR /&gt;&lt;BR /&gt; If your check nslookup &lt;SERVER1&gt;&lt;BR /&gt; &lt;BR /&gt; It will try to resolve using the nsswitch.conf file's hosts: entry.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Muthukumar.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/SERVER1&gt;&lt;/IP-ADDRESS&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Wed, 14 Jul 2004 05:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331009#M189048</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-14T05:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331010#M189049</link>
      <description>Muthu,&lt;BR /&gt;&lt;BR /&gt;I am afraid ur statements are incorrect .. I can agree "gethostbyname" reads entries in nsswitch.conf not nslookup command. nslookup stands for Nameserver Lookup. So i am sure it will loook for a nameserver (bind).&lt;BR /&gt;&lt;BR /&gt;Your statements are correct for commands like host,ping,telnet,ftp etc ... these commands internally call some functions which read entries from nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 14 Jul 2004 05:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331010#M189049</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-14T05:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331011#M189050</link>
      <description>hai kapil,&lt;BR /&gt;&lt;BR /&gt; Thanks for your question. Let us start to get hostname resolvation with only file.&lt;BR /&gt;&lt;BR /&gt; change your entry in /etc/nsswitch.conf as,&lt;BR /&gt; hosts: files&lt;BR /&gt;&lt;BR /&gt; edit the /etc/hosts files as,&lt;BR /&gt; &lt;IP-ADDRESS&gt; &lt;HOSTNAME.DOMAINNAME1.&gt; &lt;HOSTNAME&gt;&lt;BR /&gt;&lt;BR /&gt; nslookup hostname&lt;BR /&gt; &lt;BR /&gt; It will resolve your entries now without dns and any problem. It is orally specified in nslookup man page. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Muthukumar.&lt;/HOSTNAME&gt;&lt;/HOSTNAME.DOMAINNAME1.&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Wed, 14 Jul 2004 05:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331011#M189050</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-14T05:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331012#M189051</link>
      <description>I have to agree with Muthitar on this one. From the man page and emperical evidence of using it over the years:&lt;BR /&gt;&lt;BR /&gt;"By default, nslookup accesses name services for name and address resolution based on the policy information obtained from the switch configuration file /etc/nsswitch.conf When the policy is set to use NIS or /etc/hosts first, or when DNS is first but unavailable, then nslookup will only provide a limited command set (a help command while in this situation will show what actions are possible when querying NIS or /etc/hosts.) To override the switch policy and query DNS servers directly, the server command can be used to specify a nameserver. This same overriding of the switch policy can also be done by providing a nameserver as the second argument on the command line. In this case, nslookup will ignore the switch policy and directly query nameservers, until a reset command is issued."&lt;BR /&gt;&lt;BR /&gt;The only time nslookup only queries DNS in HP-UX is if you specify the server on the command line or with the server command in interactive mode. This is unique to HP's implementation as far as I know... nslookup on Linux, for example, is strictly DNS lookup.</description>
      <pubDate>Wed, 14 Jul 2004 08:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331012#M189051</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-07-14T08:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331013#M189052</link>
      <description>And sorry I butchered your name in my post, Muthukumar.</description>
      <pubDate>Wed, 14 Jul 2004 08:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331013#M189052</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-07-14T08:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331014#M189053</link>
      <description>Why do I think i am right always ?. apologies  mate .. you are right.&lt;BR /&gt;&lt;BR /&gt;I was checking on an aix node and later came to know that in aix the file is netsvc.conf and it is not very similier to nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;Kaps</description>
      <pubDate>Wed, 14 Jul 2004 08:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331014#M189053</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2004-07-14T08:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331015#M189054</link>
      <description>hai jeff traigle,&lt;BR /&gt;&lt;BR /&gt; It is a nice and sincere analysis. Thanks for that to get more informations. &lt;BR /&gt;&lt;BR /&gt; And Kapil, thanks to you to make jeff to give his nice analysis on this.</description>
      <pubDate>Tue, 20 Jul 2004 14:16:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-problem/m-p/3331015#M189054</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-20T14:16:40Z</dc:date>
    </item>
  </channel>
</rss>

