<?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 Name Resolution in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643039#M79614</link>
    <description>nsswitch.conf contains: &lt;BR /&gt;hosts:      files nisplus dns&lt;BR /&gt;&lt;BR /&gt;When I try to resolve a host name&lt;BR /&gt;that is NOT in dns, but is in my&lt;BR /&gt;/etc/host file, resolution fails. I don't&lt;BR /&gt;think nslookup ever looks at the&lt;BR /&gt;/etc/host file.  Anyone know how to&lt;BR /&gt;insure the /etc/host file is looked at?</description>
    <pubDate>Fri, 11 Jan 2002 14:16:02 GMT</pubDate>
    <dc:creator>Jim Booker</dc:creator>
    <dc:date>2002-01-11T14:16:02Z</dc:date>
    <item>
      <title>Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643039#M79614</link>
      <description>nsswitch.conf contains: &lt;BR /&gt;hosts:      files nisplus dns&lt;BR /&gt;&lt;BR /&gt;When I try to resolve a host name&lt;BR /&gt;that is NOT in dns, but is in my&lt;BR /&gt;/etc/host file, resolution fails. I don't&lt;BR /&gt;think nslookup ever looks at the&lt;BR /&gt;/etc/host file.  Anyone know how to&lt;BR /&gt;insure the /etc/host file is looked at?</description>
      <pubDate>Fri, 11 Jan 2002 14:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643039#M79614</guid>
      <dc:creator>Jim Booker</dc:creator>
      <dc:date>2002-01-11T14:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643040#M79615</link>
      <description>Additional information - RedHat 7.2&lt;BR /&gt;I am using a static ip address.&lt;BR /&gt;I have tried moving resolv.conf to a&lt;BR /&gt;different name.</description>
      <pubDate>Fri, 11 Jan 2002 14:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643040#M79615</guid>
      <dc:creator>Jim Booker</dc:creator>
      <dc:date>2002-01-11T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643041#M79616</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Of sure, on linux's nslookup is unable to check /etc/hosts.&lt;BR /&gt;&lt;BR /&gt;There are 2 ways to make the system use /etc/hosts first :&lt;BR /&gt;&lt;BR /&gt;  -&amp;gt; /etc/nsswitch.conf : your syntax is correct.&lt;BR /&gt;&lt;BR /&gt;  -&amp;gt; /etc/host.conf : it depends on the libc you are using. Normally, it should contains something like :&lt;BR /&gt;&lt;BR /&gt;order hosts,bind&lt;BR /&gt;multi on&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To check whether your /etc/hosts is actually used or not, put a fake entry in it, using an IP that is currently up and available on your network, and using a hostname for which you are sure DNS is not going to reply. Example :&lt;BR /&gt;&lt;BR /&gt;192.168.1.1 fakehost&lt;BR /&gt;&lt;BR /&gt;Then, try to ping fakehost : if it replies, then you are sure /etc/hosts have been used.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If you want more help, please describe exactly the tests you did and the problem you have with name resolution.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jan 2002 22:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/name-resolution/m-p/2643041#M79616</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-01-12T22:20:48Z</dc:date>
    </item>
  </channel>
</rss>

