<?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: DNS / HOSTS file question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717411#M21523</link>
    <description>PRO - Limits the number of changes required.&lt;BR /&gt;Individual files should have IPs for the &lt;BR /&gt;server, its mailhib, and possibly a few other&lt;BR /&gt;servers for purposes such as LDAP and backup.&lt;BR /&gt;The file only needs to change if one of these&lt;BR /&gt;IPs change.&lt;BR /&gt;Other changes are reflected by DNS.&lt;BR /&gt;- Don't need a mechanism to keep all servers&lt;BR /&gt;updated with the latest hosts file.&lt;BR /&gt;&lt;BR /&gt;CON - Need to have DNS entries for all &lt;BR /&gt;local net servers (10.* 192.*). This may&lt;BR /&gt;require multiple DNS configurations.&lt;BR /&gt;- If DNS is down servers ability to&lt;BR /&gt;find each other degrades rapidly.&lt;BR /&gt;- Are require to have a mechanism such &lt;BR /&gt;as cfengine to keep all the servers up&lt;BR /&gt;to date.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Jan 2006 12:56:45 GMT</pubDate>
    <dc:creator>Bill Thorsteinson</dc:creator>
    <dc:date>2006-01-25T12:56:45Z</dc:date>
    <item>
      <title>DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717408#M21520</link>
      <description>Hi all, I just started a new job at a new place and have some questions. at my old place, we had a centralized DNS server, we had one hosts file on all the servers. &lt;BR /&gt;&lt;BR /&gt;at my new job, there is a DNS server and I'm not sure what its currently doing. But every system has its own hosts file and is driving me crazy.&lt;BR /&gt;&lt;BR /&gt;What are the pros and cons of having one hosts file on all server versus every system having its own hosts file. &lt;BR /&gt;&lt;BR /&gt;thanks and points will be assigned.</description>
      <pubDate>Wed, 25 Jan 2006 11:40:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717408#M21520</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2006-01-25T11:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717409#M21521</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;/etc/nsswtich.conf&lt;BR /&gt;&lt;BR /&gt;hosts line determines the order of host name resoultion.&lt;BR /&gt;&lt;BR /&gt;normally its sales files dns&lt;BR /&gt;&lt;BR /&gt;That means files first dns second&lt;BR /&gt;&lt;BR /&gt;/etc/hosts is a mini dns type database that the admin can edit. If its not maintained, it can be a problem. We actually generate ours FROM DNS, so it provides redundancy.&lt;BR /&gt;&lt;BR /&gt;if you want to go dns first, change /etc/nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;The change will be instant, and you need to test things such as email after you do it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 25 Jan 2006 12:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717409#M21521</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-25T12:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717410#M21522</link>
      <description>But Steven, you still haven't mentioned the pros anc cons. Why would someone prefer to have a seperate host file on each server versus one host file for all servers.</description>
      <pubDate>Wed, 25 Jan 2006 12:42:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717410#M21522</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2006-01-25T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717411#M21523</link>
      <description>PRO - Limits the number of changes required.&lt;BR /&gt;Individual files should have IPs for the &lt;BR /&gt;server, its mailhib, and possibly a few other&lt;BR /&gt;servers for purposes such as LDAP and backup.&lt;BR /&gt;The file only needs to change if one of these&lt;BR /&gt;IPs change.&lt;BR /&gt;Other changes are reflected by DNS.&lt;BR /&gt;- Don't need a mechanism to keep all servers&lt;BR /&gt;updated with the latest hosts file.&lt;BR /&gt;&lt;BR /&gt;CON - Need to have DNS entries for all &lt;BR /&gt;local net servers (10.* 192.*). This may&lt;BR /&gt;require multiple DNS configurations.&lt;BR /&gt;- If DNS is down servers ability to&lt;BR /&gt;find each other degrades rapidly.&lt;BR /&gt;- Are require to have a mechanism such &lt;BR /&gt;as cfengine to keep all the servers up&lt;BR /&gt;to date.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Jan 2006 12:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717411#M21523</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2006-01-25T12:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717412#M21524</link>
      <description>I don't understand this:&lt;BR /&gt;&lt;BR /&gt;"having one hosts file on all server versus every system having its own hosts file"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You must have one hosts file on every server, now, the contents of the file could be the same or different, I think that is that what you mean.&lt;BR /&gt;&lt;BR /&gt;Maintaining name resolution using hosts file is time consuming and requires too much administrative effort.&lt;BR /&gt;&lt;BR /&gt;You should use the hosts file only for some critical servers, then use DNS for everything else.&lt;BR /&gt;&lt;BR /&gt;I see more cons that pro on hosts based name resolution. The pro is that you don't depend of the availability the DNS server. The cons is the administrative job that requires maintaining that file. &lt;BR /&gt;&lt;BR /&gt;If your DNS server is reliable or you have a secondary DNS server also, or  you can configure one, you should use DNS as name resolution method.</description>
      <pubDate>Wed, 25 Jan 2006 12:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717412#M21524</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-25T12:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717413#M21525</link>
      <description>Ivan, what I meant was one hosts file with all the ip addresses and everything on all systems. &lt;BR /&gt;&lt;BR /&gt;Thanks for all your response. Assigning points now.</description>
      <pubDate>Wed, 25 Jan 2006 13:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717413#M21525</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2006-01-25T13:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: DNS / HOSTS file question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717414#M21526</link>
      <description>Using /etc/hosts on each and every server:&lt;BR /&gt;PROS:&lt;BR /&gt;+ makes servers more independent: failure of DNS server does not cause problems&lt;BR /&gt;&lt;BR /&gt;CONS:&lt;BR /&gt;- more work when a new server is added or old one is changed (you have to ensure /etc/hosts is up to date on all servers, or constantly deal with them being out of sync)&lt;BR /&gt;&lt;BR /&gt;Using DNS:&lt;BR /&gt;PROS:&lt;BR /&gt;+ much easier to maintain, since all changes can be done in one spot&lt;BR /&gt;&lt;BR /&gt;CONS:&lt;BR /&gt;- if you have just one DNS server, "everything" stops working when it fails (so you'd better have at least two)&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jan 2006 06:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dns-hosts-file-question/m-p/3717414#M21526</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2006-01-30T06:02:21Z</dc:date>
    </item>
  </channel>
</rss>

