<?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 to use  /etc/hosts in LINUX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476524#M16166</link>
    <description>AFAIK, nslookup is always uses DNS;&lt;BR /&gt; for getting info from /etc/hosts you may use getent utility.&lt;BR /&gt;&lt;BR /&gt;See "Getting an entry with getent?&lt;A href="http://www.itworld.com/Comp/3380/nls_unixgetent041202/index.html" target="_blank"&gt;http://www.itworld.com/Comp/3380/nls_unixgetent041202/index.html&lt;/A&gt;  for more.</description>
    <pubDate>Wed, 02 Feb 2005 07:54:04 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2005-02-02T07:54:04Z</dc:date>
    <item>
      <title>nslookup to use  /etc/hosts in LINUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476522#M16164</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;In LINUX nslookup is always using BIND for &lt;BR /&gt;hostname resolution. Anybody know how to override this with /etc/hosts&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 04:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476522#M16164</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2005-02-02T04:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup to use  /etc/hosts in LINUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476523#M16165</link>
      <description>edit the file /etc/nsswitch.conf&lt;BR /&gt;come to the line:&lt;BR /&gt;dns files (it can in defferent order)&lt;BR /&gt;and change it to:&lt;BR /&gt;files dns&lt;BR /&gt;This will cause the search order to be first in /etc/hosts and then in DNS.If you wish to eliminate search in DNS remove "dns" from this line.</description>
      <pubDate>Wed, 02 Feb 2005 06:21:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476523#M16165</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-02-02T06:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup to use  /etc/hosts in LINUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476524#M16166</link>
      <description>AFAIK, nslookup is always uses DNS;&lt;BR /&gt; for getting info from /etc/hosts you may use getent utility.&lt;BR /&gt;&lt;BR /&gt;See "Getting an entry with getent?&lt;A href="http://www.itworld.com/Comp/3380/nls_unixgetent041202/index.html" target="_blank"&gt;http://www.itworld.com/Comp/3380/nls_unixgetent041202/index.html&lt;/A&gt;  for more.</description>
      <pubDate>Wed, 02 Feb 2005 07:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476524#M16166</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2005-02-02T07:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup to use  /etc/hosts in LINUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476525#M16167</link>
      <description>Sorry, got confused with regular name resolution.&lt;BR /&gt;The purpose of nslookup utility is to query DNS,so ...</description>
      <pubDate>Wed, 02 Feb 2005 08:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476525#M16167</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-02-02T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: nslookup to use  /etc/hosts in LINUX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476526#M16168</link>
      <description>Vitaly&lt;BR /&gt;&lt;BR /&gt;Thanks. This solve the purpuse.&lt;BR /&gt;&lt;BR /&gt;Sajeesh&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Feb 2005 21:50:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/nslookup-to-use-etc-hosts-in-linux/m-p/3476526#M16168</guid>
      <dc:creator>Sajeesh O.K</dc:creator>
      <dc:date>2005-02-02T21:50:35Z</dc:date>
    </item>
  </channel>
</rss>

