Solved

host file

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

792 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