Solved

host file

Posted on 2011-02-19
3
306 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 38

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 38

Accepted Solution

by:
ChiefIT earned 500 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.

726 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