Hosts file question

Posted on 2005-03-08
Medium Priority
Last Modified: 2010-04-14
I know mappings in the hosts file are checked before DNS. Is this true even in an Active Directory environment? What about if you use a proxy server definedin your IE settings?
Question by:dissolved
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
  • 3
  • 2
LVL 25

Accepted Solution

mikeleebrla earned 1600 total points
ID: 13486729
yes the host file is always checked first, regarless if the PC is in a omain or not, or if there is a proxy server involved.  Why do you ask?  

Author Comment

ID: 13486779
We have a user that has circumvented the proxy server and is playing games on an online site. Since the proxy server is maintained by another entity, it costs us money everytime we have to notify them and tell them to adjust something.

We are looking to place some settings in her hosts file like this                   game_site_she_is_visiting.com

We obviously have access to the C$, so I'm going to try this remotely.


Assisted Solution

ChristianMDD earned 400 total points
ID: 13486786
I´m not sure, what your're aiming at with the last question, but Yes, the host file is checked before DNS, AD or no AD. One of my customers had problems with the local domain name being the same as the domain name supplied by their ISP. As a result the computer was searching for the e-mail server in the local domain, instead of the ISP. I did a quick and dirty solution by adding the e-mail servers adress in the host file. It worked fine. I later added a static entry in the DNS instead, but thats an other story.
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Author Comment

ID: 13486861
I heard that sometimes, when you enter things in the hosts file, it may not work if you have a proxy server.  Because the browser is configured to use the proxy server etc..
I wonder if the BYPASS FOR LOCAL ADDRESSES would work in this case?
thanks guys
LVL 25

Expert Comment

ID: 13486910
if you enter                   game_site_she_is_visiting.com in the host file it should solve your problem. But all you have to do is test it out on your computer to be 100% sure.

Add:                   game_site_she_is_visiting.com
in the host file of your computer and then try to access the site and see if you can access it or not.


Author Comment

ID: 13487021

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

801 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