<?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: use /etc/hosts file instead DNS in Windows Server 2003</title>
    <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611642#M5986</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;I have a W2k3 boxe ,i want to use /etc/hosts instead DNS IE i want nslookup command point to /etc/hosts first to resolve the ip.is there a way to configure this&lt;BR /&gt;&lt;BR /&gt;/etc/hosts is in Unix / Linux enviroments, in the Windows the hosts file is located in : &lt;BR /&gt;&lt;BR /&gt;C:\WINDOWS\system32\drivers\etc&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Apr 2010 07:42:07 GMT</pubDate>
    <dc:creator>Michal Kapalka (mikap)</dc:creator>
    <dc:date>2010-04-06T07:42:07Z</dc:date>
    <item>
      <title>use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611639#M5983</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a W2k3 boxe ,i want to use /etc/hosts instead DNS IE i want nslookup command point to /etc/hosts first to resolve the ip.is there a way to configure this&lt;BR /&gt;&lt;BR /&gt;Thanks for your support,&lt;BR /&gt;Amine</description>
      <pubDate>Fri, 02 Apr 2010 14:13:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611639#M5983</guid>
      <dc:creator>amin Tabarak</dc:creator>
      <dc:date>2010-04-02T14:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611640#M5984</link>
      <description>hi amine,&lt;BR /&gt;&lt;BR /&gt;You can set the default server for nslookup requests by entering:&lt;BR /&gt;&lt;BR /&gt;NSLOOKUP&lt;BR /&gt;SERVER &lt;DEFAULT server="" name=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In this case you want to use the local machine name.&lt;BR /&gt;&lt;BR /&gt;good luck, if you appreciate the answers we appreciate the points :)&lt;/DEFAULT&gt;</description>
      <pubDate>Fri, 02 Apr 2010 16:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611640#M5984</guid>
      <dc:creator>WFHC-WI</dc:creator>
      <dc:date>2010-04-02T16:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611641#M5985</link>
      <description>Hi,&lt;BR /&gt;ref &lt;A href="http://technet.microsoft.com/en-us/library/bb727005.aspx" target="_blank"&gt;http://technet.microsoft.com/en-us/library/bb727005.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The host name resolution process will first query the local DNS client cache. Then it will look in the Hosts file and lastly query DNS if none of the previous provided a name resolution.&lt;BR /&gt;&lt;BR /&gt;So, the only thing you need to do to make W2K3 use the Hosts file is to enter hostnames and corresponding IP-addresses.&lt;BR /&gt;&lt;BR /&gt;In case the local DNS cache has already resolved a name that you want it to look into the Hosts file for instead - you should do a "ipconfig /flushdns" command first.  This will clear the local DNS client cache and therefore it will continue to check the Hosts file and secondly DNS.  &lt;BR /&gt;&lt;BR /&gt;Using "ipconfig /flushdns" is always a good idea when testing name resolution to not get fooled by results from the local cache.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Rune</description>
      <pubDate>Tue, 06 Apr 2010 05:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611641#M5985</guid>
      <dc:creator>Rune J. Winje</dc:creator>
      <dc:date>2010-04-06T05:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611642#M5986</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;I have a W2k3 boxe ,i want to use /etc/hosts instead DNS IE i want nslookup command point to /etc/hosts first to resolve the ip.is there a way to configure this&lt;BR /&gt;&lt;BR /&gt;/etc/hosts is in Unix / Linux enviroments, in the Windows the hosts file is located in : &lt;BR /&gt;&lt;BR /&gt;C:\WINDOWS\system32\drivers\etc&lt;BR /&gt;&lt;BR /&gt;mikap&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Apr 2010 07:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611642#M5986</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-04-06T07:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611643#M5987</link>
      <description>even with this command (flushdns), and /etc/hosts correctly field , i still have the problem.It seems that nslookup can't read from hosts file !</description>
      <pubDate>Tue, 06 Apr 2010 09:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611643#M5987</guid>
      <dc:creator>amin Tabarak</dc:creator>
      <dc:date>2010-04-06T09:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611644#M5988</link>
      <description>As Mikap said,&lt;BR /&gt;What OS you are actually using? /etc/hosts is *nix style local name lookup not Windows. &lt;BR /&gt;Would you mind putting an entry into C:\WINDOWS\system32\drivers\etc and test again?&lt;BR /&gt;Does ping from command prompt works at all. Post the nslookup output as well...&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Apr 2010 03:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611644#M5988</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2010-04-07T03:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611645#M5989</link>
      <description>&lt;BR /&gt;C:\Documents and Settings\&amp;gt;nslookup trafprod&lt;BR /&gt;Server:  xxx.???.net.ma&lt;BR /&gt;Address:  xx.xx.xx.xx&lt;BR /&gt;&lt;BR /&gt;*** xxx.???.net.ma can't find tarfprod: Non-existent domain&lt;BR /&gt;&lt;BR /&gt;C:\Documents and Settings\&amp;gt;&lt;BR /&gt;&lt;BR /&gt;and my /etc/hosts has the fellowing entry with the correct ip and hostname&lt;BR /&gt;xx.xx.xx.xx tarfprod</description>
      <pubDate>Wed, 07 Apr 2010 08:55:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611645#M5989</guid>
      <dc:creator>amin Tabarak</dc:creator>
      <dc:date>2010-04-07T08:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611646#M5990</link>
      <description>OS is w2k3 ,and the ping works with both ip and hostname</description>
      <pubDate>Wed, 07 Apr 2010 09:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611646#M5990</guid>
      <dc:creator>amin Tabarak</dc:creator>
      <dc:date>2010-04-07T09:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: use /etc/hosts file instead DNS</title>
      <link>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611647#M5991</link>
      <description>Hi Amine,&lt;BR /&gt;&lt;BR /&gt;Check the properties of your server's network connection:&lt;BR /&gt;&lt;BR /&gt;Network Connection &amp;gt; Properties&lt;BR /&gt;Internet Protocol (TCP/IP) &amp;gt; Properties&lt;BR /&gt;Advanced...&lt;BR /&gt;DNS tab&lt;BR /&gt;&lt;BR /&gt;I think you want to set "Append these DNS suffixes (in order):"&lt;BR /&gt;Make sure the domain for trafprod is present in the list.</description>
      <pubDate>Mon, 12 Apr 2010 15:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/windows-server-2003/use-etc-hosts-file-instead-dns/m-p/4611647#M5991</guid>
      <dc:creator>WFHC-WI</dc:creator>
      <dc:date>2010-04-12T15:25:34Z</dc:date>
    </item>
  </channel>
</rss>

