<?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 what is the difference between /etc/host.conf and /etc/nsswitch.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-etc-host-conf-and-etc-nsswitch/m-p/4714557#M42770</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'm not able to understand the diferences between /etc/host.conf and /etc/nsswitch.conf (in the case of host names).&lt;BR /&gt;&lt;BR /&gt;Aren't they for the same purpose -- resolve host names ?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
    <pubDate>Wed, 17 Nov 2010 11:53:40 GMT</pubDate>
    <dc:creator>Jdamian</dc:creator>
    <dc:date>2010-11-17T11:53:40Z</dc:date>
    <item>
      <title>what is the difference between /etc/host.conf and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-etc-host-conf-and-etc-nsswitch/m-p/4714557#M42770</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'm not able to understand the diferences between /etc/host.conf and /etc/nsswitch.conf (in the case of host names).&lt;BR /&gt;&lt;BR /&gt;Aren't they for the same purpose -- resolve host names ?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Wed, 17 Nov 2010 11:53:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-etc-host-conf-and-etc-nsswitch/m-p/4714557#M42770</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2010-11-17T11:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between /etc/host.conf and /etc/nsswitch.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-etc-host-conf-and-etc-nsswitch/m-p/4714558#M42771</link>
      <description>/etc/nsswitch.conf covers way more than host names: it also covers the resolution of mail aliases, user and group names, network protocol, service and segment names and others.&lt;BR /&gt;&lt;BR /&gt;It uses the de-facto standard format originally defined by Sun Microsystems for Solaris 2. &lt;BR /&gt;&lt;BR /&gt;Linux uses glibc, whose resolver library has more options than the standard format can handle. Creating an incompatible extended version of the nsswitch.conf file format would not have been a good idea: it would have caused unnecessary difficulties in porting Unix software for Linux.&lt;BR /&gt;&lt;BR /&gt;Instead, the glibc developers chose to add a new configuration file for those glibc-specific extra options. This file is /etc/host.conf.&lt;BR /&gt;&lt;BR /&gt;Once you've learned to use /etc/nsswitch.conf on Linux, you can apply this knowledge to Solaris and many other Unix-style OSs. &lt;BR /&gt;&lt;BR /&gt;But /etc/host.conf is specific to glibc, so on other Unix-style OSs it might not exist or might be completely different. &lt;BR /&gt;&lt;BR /&gt;If you need to work with multiple system architectures, it's important to know what is standardized and what is architecture-specific. This kind of separation into different files is actually rather convenient.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 17 Nov 2010 13:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/what-is-the-difference-between-etc-host-conf-and-etc-nsswitch/m-p/4714558#M42771</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-11-17T13:07:18Z</dc:date>
    </item>
  </channel>
</rss>

