<?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: /etc/hosts vs dns server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868284#M97765</link>
    <description>Thanks!  This worked like a charm.&lt;BR /&gt;&lt;BR /&gt;Donald O'Brien.</description>
    <pubDate>Thu, 19 Dec 2002 23:56:10 GMT</pubDate>
    <dc:creator>Donald O'Brien</dc:creator>
    <dc:date>2002-12-19T23:56:10Z</dc:date>
    <item>
      <title>/etc/hosts vs dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868281#M97762</link>
      <description>How can I configure my HP-UX 11.00 system to prefer the /etc/hosts file entries before turning the dns servers?  &lt;BR /&gt;&lt;BR /&gt;I have some host names that will not be added to a dns server, but I need them to recognized by a system in its /etc/hosts file.   Right now whenever I configure a system to use dns, it outright ignores the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;Donald O'Brien.</description>
      <pubDate>Thu, 19 Dec 2002 23:38:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868281#M97762</guid>
      <dc:creator>Donald O'Brien</dc:creator>
      <dc:date>2002-12-19T23:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts vs dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868282#M97763</link>
      <description>Hi Donald:&lt;BR /&gt;&lt;BR /&gt;In your '/etc/nsswitch.conf' file put this line:&lt;BR /&gt;&lt;BR /&gt;hosts: files [NOTFOUND=continue] dns &lt;BR /&gt;&lt;BR /&gt;Now, create an 'etc/resolv.conf' file like: &lt;BR /&gt;&lt;BR /&gt;domain xxx.com &lt;BR /&gt;nameserver 10.101.102.103&lt;BR /&gt;&lt;BR /&gt;No reboot is necessary. Use 'nslookup' to verify. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 19 Dec 2002 23:43:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868282#M97763</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-12-19T23:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts vs dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868283#M97764</link>
      <description>Hi Donald,&lt;BR /&gt;If you want your server to look at /etc/hosts before DNS just edit /etc/nsswitch.conf file (if not there create one) and add a line called:&lt;BR /&gt;hosts:        files [NOTFOUND=continue] dns&lt;BR /&gt;&lt;BR /&gt;That should work.&lt;BR /&gt;&lt;BR /&gt;Rajeev</description>
      <pubDate>Thu, 19 Dec 2002 23:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868283#M97764</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-19T23:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/hosts vs dns server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868284#M97765</link>
      <description>Thanks!  This worked like a charm.&lt;BR /&gt;&lt;BR /&gt;Donald O'Brien.</description>
      <pubDate>Thu, 19 Dec 2002 23:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-hosts-vs-dns-server/m-p/2868284#M97765</guid>
      <dc:creator>Donald O'Brien</dc:creator>
      <dc:date>2002-12-19T23:56:10Z</dc:date>
    </item>
  </channel>
</rss>

