<?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 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551249#M89654</link>
    <description>Don't use nslookup, it will not look /etc/hosts file.  nslookup is a tool for testing DNS queries.  Try a command like ping server2 and see if it resolves the name...&lt;BR /&gt;</description>
    <pubDate>Fri, 13 Jul 2001 13:37:20 GMT</pubDate>
    <dc:creator>Laurent Paumier</dc:creator>
    <dc:date>2001-07-13T13:37:20Z</dc:date>
    <item>
      <title>nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551240#M89645</link>
      <description>Hi to all,&lt;BR /&gt;In my linux config the host name search path is :hosts, dns. When i run nslookup the search order is still dns and i don't see the server name i put in the hosts file..! Do i make a mistake, or should i change something else to get the host name search path : hosts, dns?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;Huseyin</description>
      <pubDate>Wed, 11 Jul 2001 08:57:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551240#M89645</guid>
      <dc:creator>Huseyin Utlu</dc:creator>
      <dc:date>2001-07-11T08:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551241#M89646</link>
      <description>Hi there.&lt;BR /&gt;Try this way :&lt;BR /&gt;hosts: files [NOTFOUND=CONTINUE UNAVAIL=CONTINUE] dns  [NOTFUND=return UNAVAIL=continue TRYAGAIN=return]&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 11 Jul 2001 10:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551241#M89646</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-07-11T10:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551242#M89647</link>
      <description>Hi there.&lt;BR /&gt;Sorry, wrong OS.&lt;BR /&gt;hosts, dns is ok. Did you enter your dns servers in the hosts file ? They should be &lt;BR /&gt;in the resolv.conf . Can you put a sample in a reply ?&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 11 Jul 2001 11:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551242#M89647</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-07-11T11:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551243#M89648</link>
      <description>Hi,&lt;BR /&gt;I will give an example:&lt;BR /&gt;hosts file:&lt;BR /&gt;   127.0.0.1      localhost&lt;BR /&gt;   130.240.70.60  server1.abc.nl&lt;BR /&gt;   130.240.70.65  server2.abc.nl&lt;BR /&gt;&lt;BR /&gt;nsswitch.conf file:&lt;BR /&gt;#hosts db files nisplus nis dns&lt;BR /&gt;hosts: files dns&lt;BR /&gt;&lt;BR /&gt;host.conf file:&lt;BR /&gt;order hosts, dns&lt;BR /&gt;multi on&lt;BR /&gt;&lt;BR /&gt;resolv.conf file:&lt;BR /&gt;nameserver 130.240.1.2&lt;BR /&gt;nameserver 130.240.2.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So, the server2 is not in the domain name service. When i run nslookup server2 on server1&lt;BR /&gt;the dns says that server2 cannot be found. The search order is hosts then dns isn't ?&lt;BR /&gt;What is wrong?&lt;BR /&gt;&lt;BR /&gt;Huseyin</description>
      <pubDate>Wed, 11 Jul 2001 11:25:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551243#M89648</guid>
      <dc:creator>Huseyin Utlu</dc:creator>
      <dc:date>2001-07-11T11:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551244#M89649</link>
      <description>Hi Huseyin,&lt;BR /&gt;&lt;BR /&gt;your configuration looks ok, but is it right that you tried the command:&lt;BR /&gt;"nslookup server2"&lt;BR /&gt;on server1?&lt;BR /&gt;In your /etc/hosts server2 is not an alias name for 130.240.70.65. Try the follwoing:&lt;BR /&gt;130.240.70.65 server2.abc.nl server2&lt;BR /&gt;in the /etc/hosts of server1. Or you have to run nslookup as the following:&lt;BR /&gt;"nslookup server2.abc.nl"&lt;BR /&gt;&lt;BR /&gt;hope that helps,&lt;BR /&gt;              MaDMaik</description>
      <pubDate>Wed, 11 Jul 2001 12:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551244#M89649</guid>
      <dc:creator>Maik Danstedt</dc:creator>
      <dc:date>2001-07-11T12:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551245#M89650</link>
      <description>Hi Maik,&lt;BR /&gt;&lt;BR /&gt;I tried that already, even that will not work...&lt;BR /&gt;&lt;BR /&gt;Maybe nslookup is different on Linux and HPUX servers?&lt;BR /&gt;&lt;BR /&gt;Bye.&lt;BR /&gt;Huseyin</description>
      <pubDate>Wed, 11 Jul 2001 13:18:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551245#M89650</guid>
      <dc:creator>Huseyin Utlu</dc:creator>
      <dc:date>2001-07-11T13:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551246#M89651</link>
      <description>Hi&lt;BR /&gt;Do you have search entry on /etc/resolv.conf.&lt;BR /&gt;search domain.com&lt;BR /&gt;nameserver xxx.xxx.xxx.xxx&lt;BR /&gt;&lt;BR /&gt;Also move your hosts.conf file to different name, restart the named and try nslookup. &lt;BR /&gt;We have same setting as you mention. It works fine. We do not have hosts.conf file. &lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Wed, 11 Jul 2001 16:46:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551246#M89651</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-07-11T16:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551247#M89652</link>
      <description>Hi Huseyin,&lt;BR /&gt;&lt;BR /&gt;what does nslookup say if you just start it up without any parameters?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Maik</description>
      <pubDate>Thu, 12 Jul 2001 05:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551247#M89652</guid>
      <dc:creator>Maik Danstedt</dc:creator>
      <dc:date>2001-07-12T05:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551248#M89653</link>
      <description>Hi Maik,&lt;BR /&gt;&lt;BR /&gt;If i start nslookup, it says: the dns is found and the ip adress is shown.&lt;BR /&gt;Default Server:  zmd.abc.nl&lt;BR /&gt;Address:  130.240.1.2&lt;BR /&gt;&lt;BR /&gt;But, we are going to put the server2 host name in the dns, this will work, because the dns is in the search order. &lt;BR /&gt;Thanks anyway.&lt;BR /&gt;Bye&lt;BR /&gt;Huseyin</description>
      <pubDate>Fri, 13 Jul 2001 12:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551248#M89653</guid>
      <dc:creator>Huseyin Utlu</dc:creator>
      <dc:date>2001-07-13T12:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551249#M89654</link>
      <description>Don't use nslookup, it will not look /etc/hosts file.  nslookup is a tool for testing DNS queries.  Try a command like ping server2 and see if it resolves the name...&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jul 2001 13:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551249#M89654</guid>
      <dc:creator>Laurent Paumier</dc:creator>
      <dc:date>2001-07-13T13:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551250#M89655</link>
      <description>Hi&lt;BR /&gt;nslookup will look for nis/nis+ and dns etc. But if you make a connection it will definitely check fot the hosts file first. You can try this by giving an alias to a host in your /etc/hosts file and try pinging or telneting to that host. It will work...&lt;BR /&gt;&lt;BR /&gt;Manoj</description>
      <pubDate>Thu, 15 Nov 2001 05:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup/m-p/2551250#M89655</guid>
      <dc:creator>Manoj Kumar Sarangi</dc:creator>
      <dc:date>2001-11-15T05:30:50Z</dc:date>
    </item>
  </channel>
</rss>

