This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

proxy server takes priority over hosts file?

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is on behalf of my friend who doesn't have access of JR:


remember the hosts file? found in C:\Windows\system32\drivers\etc\hosts???

this is the file to make the dns entries...what i want to know is whether the proxy can override this or is it the other way round?

What i means is, if you make an entry in this file as "hotmail x.x.x.x" where x.x.x.x is IP address of yahoo, then will it go to yahoo when i type hotmail.com in browser?


I made an entry in hosts file something like this:

yahoo.com 127.10.10.10 (or any random IP address)�

But when I type yahoo.com in browser I see yahoo�s page loading in my browser... I think that means proxy server overrides this random IP with the actual IP.

So can we say that proxy server takes priority over hosts file?

Thanks.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wrong way around
127.10.10.10 mysite.com
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David O'Meara:
wrong way around
127.10.10.10 mysite.com


Oh yes. But this too doesn't override proxy server's... it still opens "yahoo"...

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic