Error DataBase-One Place all Solutions Forums Blog Glossary    Contact Us
Search  
   
Browse by Category
Error DataBase-One Place all Solutions .: Operating Systems .: Windows Operating Systems .: Windows 2000 .: How to Manually install a a Hosts File

How to Manually install a a Hosts File

The most important thing to do before using large HOSTS  files is to disable the Domain Name Service client ("DNS Client" or "DnsCache") service on your machine. It sounds bizarre, but the DNS client isn't needed to do DNS. Worse, if you have a large HOSTS file (which is what I suggest), the DNS client chokes your entire PC. The DNS client acts as an intermediate step looking up (and remembering) internet names and addresses on your PC. If you disable the DNS client, you may need to let your firewall software know that individual applications are allowed to do DNS lookups. Other than that, no problems. Microsoft has an article that tells you how to disable DNS caching by the registry. They mention the services control panel as an easier way, but they don't tell beginners how to do it! Here's how to do it. 
You need to open up the "Services" configuration window. From the "Start" button, select "Run", and enter "services.msc". There are other ways to do this, of course (aren't there always?), but this is the simplest. 
Scroll down the list to the "DNS Client" (shown highlighted here). Under the "Startup Type", it should show "Disabled". If it doesn't, double-click the entry to open it's "Properties" window.
Select "Disabled" from the list of choices for "Startup type".  If the "Stop" button isn't grayed out (it's grayed out in this picture), press the "Stop" button to stop the DNS Client service.

Now you can install and use a really large

How helpful was this article to you?

Related Articles

article How to automate Hosts File Update Script
   The HostsInstall script is...

(No rating)  3-17-2008    Views: 216   
article How to Deploy HOSTS file using Group Policy?
I know this is an old topic but there is a very...

(No rating)  3-17-2008    Views: 280   
article Miscellaneous Errors in IIS 6.0 : When attempting to download a file from an FTP site that is hosted on IIS 6.0, a "File not found" or similar error is returned, and the file name in the error message contains a caret (^) character
This error occurs when the requested...

(No rating)  2-19-2008    Views: 257   

User Comments

Add Comment
No comments have been posted.