Solved

host file

Posted on 2011-02-19
3
304 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

803 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