<?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 error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438247#M6159</link>
    <description>As an addeum, in the /etc/nsswitch.default for hosts they talk about nis, dns, files but not about nisplus. Maybe you can ask HP if nisplus is supported for hosts resolution.&lt;BR /&gt;By the way, do you have another HP machine that uses nisplus for hosts resolution? If yes, compare the config and the patches level.</description>
    <pubDate>Mon, 21 Aug 2000 19:32:05 GMT</pubDate>
    <dc:creator>Antoanetta Naghiu</dc:creator>
    <dc:date>2000-08-21T19:32:05Z</dc:date>
    <item>
      <title>nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438240#M6152</link>
      <description>I have iust setup nisclient for the new HP machine. When I use nslookup to check the host ip address it comes out message like this:&lt;BR /&gt;*** Unknown source : nisplus. not supported.&lt;BR /&gt;*** You have defined one or more supported sources.&lt;BR /&gt;*** Please modify your configuration file and try again.&lt;BR /&gt;*** Or you will get unreliable information.&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;the ypbind and running in the system. I think in the configuration file it setup both nis and nis+. Can anyone tell me how to modify the configuration files? And which file?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2000 17:41:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438240#M6152</guid>
      <dc:creator>Ben Li</dc:creator>
      <dc:date>2000-08-21T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438241#M6153</link>
      <description>Check the settingings in /etc/nsswitch.conf&lt;BR /&gt;You should be looking at NIS+ first on the following line:&lt;BR /&gt;hosts: nisplus [NOTFOUND=return] files&lt;BR /&gt;&lt;BR /&gt;Brian&lt;BR /&gt;&amp;lt;*(((&amp;gt;&amp;lt; er&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 17:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438241#M6153</guid>
      <dc:creator>Brian M. Fisher</dc:creator>
      <dc:date>2000-08-21T17:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438242#M6154</link>
      <description>Yes, the /etc/nsswitch.conf is like that. &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2000 18:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438242#M6154</guid>
      <dc:creator>Ben Li</dc:creator>
      <dc:date>2000-08-21T18:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438243#M6155</link>
      <description>In addition to the nsswitch.conf file, ensure that you are running the service you actually want to run.</description>
      <pubDate>Mon, 21 Aug 2000 18:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438243#M6155</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-21T18:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438244#M6156</link>
      <description>Usually, the hosts are solved by DNS or hosts. If you really use nisplus for that and you had configured the new machine into the server, then, try nis in /etc/nsswitch.conf (not nisplus, just nis). But, first be sure it is corectlly configured. Eventually try nslookup on the nis server to look for the new box.</description>
      <pubDate>Mon, 21 Aug 2000 18:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438244#M6156</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-21T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438245#M6157</link>
      <description>I use nisls -l and niscat -A passwd.org_dir command, then it comes out the result from the nis+ server.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 21 Aug 2000 18:25:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438245#M6157</guid>
      <dc:creator>Ben Li</dc:creator>
      <dc:date>2000-08-21T18:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438246#M6158</link>
      <description>I am not using nisplus, but nslookup in the nisplus server should work as well (if was hp machine). What is the output of nslookup ran in the server?&lt;BR /&gt;I do not think that password map/database has something to do with hosts map (database, whatever). &lt;BR /&gt;At least in nis, simple, not plus, you have different maps for password, hosts, services, a.s.o.</description>
      <pubDate>Mon, 21 Aug 2000 19:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438246#M6158</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-21T19:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438247#M6159</link>
      <description>As an addeum, in the /etc/nsswitch.default for hosts they talk about nis, dns, files but not about nisplus. Maybe you can ask HP if nisplus is supported for hosts resolution.&lt;BR /&gt;By the way, do you have another HP machine that uses nisplus for hosts resolution? If yes, compare the config and the patches level.</description>
      <pubDate>Mon, 21 Aug 2000 19:32:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438247#M6159</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-21T19:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438248#M6160</link>
      <description>It seems the nis+ and dns runs well. and I can mount file system from other sun machine to the HP. Only when I run nslookup it comes with the message. &lt;BR /&gt;If in the nslookup prompt, I set the domain server name, then it will works well within the prompt.&lt;BR /&gt;It seems the nslookup can not get the domain server name from the /etc/resolv.conf file.&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 21 Aug 2000 19:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438248#M6160</guid>
      <dc:creator>Ben Li</dc:creator>
      <dc:date>2000-08-21T19:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438249#M6161</link>
      <description>As far as I know, /etc/resolv.conf is used by DNS and has nothing to do with NIS. For nis you have to have a master, 1-2 slave (recommended, not required), and the clients. Create the maps on master, push them to the clients. No interaction with /etc/resolv.conf</description>
      <pubDate>Mon, 21 Aug 2000 19:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438249#M6161</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-21T19:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438250#M6162</link>
      <description>Ben, the resolver will handle parsing through the statement in /etc/nsswitch.conf.  Here is the resolver in action:&lt;BR /&gt;&lt;BR /&gt;# nslookup venus&lt;BR /&gt;  Name Server:  name.lll.eee.ddd&lt;BR /&gt;  Address:  nnn.nnn.nnn.nnn&lt;BR /&gt;&lt;BR /&gt;  Trying DNS&lt;BR /&gt;  Trying NIS&lt;BR /&gt;  Trying files&lt;BR /&gt;  Name:    venus&lt;BR /&gt;  Address:  192.85.248.3&lt;BR /&gt;&lt;BR /&gt;In this example, the resolver finally found the entry in the local hosts file.  You can see it first trying DNS, then NIS.  The switch file would look like this:hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return] nis [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt; files&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2000 20:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438250#M6162</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-08-21T20:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438251#M6163</link>
      <description>Use the nsswitch.compat &amp;gt; copy it to /etc/nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;Berlene</description>
      <pubDate>Mon, 21 Aug 2000 20:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438251#M6163</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2000-08-21T20:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438252#M6164</link>
      <description>Ben,&lt;BR /&gt;&lt;BR /&gt;The problem is most likely in your /etc/nsswitch.conf file.  If you have both DNS and NIS configured on your system, try adding the following to /etc/nsswitch.conf (create the file if it doesn't yet exist):&lt;BR /&gt;&lt;BR /&gt;hosts: dns nis files&lt;BR /&gt;&lt;BR /&gt;If you aren't using DNS, just add:&lt;BR /&gt;&lt;BR /&gt;hosts: nis files&lt;BR /&gt;&lt;BR /&gt;At 11.x, /etc/nsswitch.conf also supports "passwd" and "group" entries, which may be of interest.&lt;BR /&gt;&lt;BR /&gt;For more information, do a "man switch", or take a look at the sample template files in /etc/nsswitch.*.  Hope that helps!</description>
      <pubDate>Tue, 22 Aug 2000 13:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438252#M6164</guid>
      <dc:creator>Darren Miller_1</dc:creator>
      <dc:date>2000-08-22T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438253#M6165</link>
      <description>This is an expected result as nslookup does not support the use of NIS+. This is evident from the nslookup(1) man page:&lt;BR /&gt;&lt;BR /&gt;"Note, NIS+ is not supported by nslookup. If the hosts source nisplus is found in the /etc/nsswitch.conf file. It will be ignored."&lt;BR /&gt;&lt;BR /&gt;Instead, another resolver such as nsquery should be used as nsquery does support the use of nisplus within /etc/nsswitch.conf.&lt;BR /&gt;&lt;BR /&gt;Berlene</description>
      <pubDate>Tue, 22 Aug 2000 13:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438253#M6165</guid>
      <dc:creator>Berlene Herren</dc:creator>
      <dc:date>2000-08-22T13:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438254#M6166</link>
      <description>Thanks Berlene. That solved my concern about whether the NIS+ works normally or not.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2000 16:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nslookup-error/m-p/2438254#M6166</guid>
      <dc:creator>Ben Li</dc:creator>
      <dc:date>2000-08-22T16:00:59Z</dc:date>
    </item>
  </channel>
</rss>

