?
Solved

host file

Posted on 2011-02-19
3
Medium Priority
?
308 Views
Last Modified: 2012-06-27
How to add records to host file and what is size limit for the host file
0
Comment
Question by:Manjugrp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 39

Expert Comment

by:ChiefIT
ID: 34932406
If you have a valid DNS server on your network, I wouldn't add anything to the host files.. The reason being is your host file can periodically conflict with a DNS server.

Why do you feel adding hosts to a host file is a good idea?
0
 

Author Comment

by:Manjugrp
ID: 34932415
some times we will get ticket to add a record to host file
0
 
LVL 39

Accepted Solution

by:
ChiefIT earned 2000 total points
ID: 34932431
To answer your question, navigate to:
C:\Windows\system32\drivers\ect\Host    file
Right click it and edit it with a Text editor, like notepad.

I will emphasize not to edit the host files. I have seen too many problems caused by this.

Here is a link that I wrote on how to troubleshoot DNS.. Within that link it explains that adding host files is not a good idea because a client will look within the client's host file prior to looking for DNS resolution.

http://www.experts-exchange.com/Networking/Protocols/DNS/A_323-DNS-Troubleshooting-made-easy.html

A DNS server should resolve all IPs on the local network and go out to outside servers for further DNS resolution. So, this means a host file edit shouldn't be needed.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question