Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

host file

Posted on 2011-02-19
3
Medium Priority
?
313 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

604 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