• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

proxy server takes priority over hosts file?  RSS feed

 
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.
 
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.
 
Normally trees don't drive trucks. Does this tiny ad have a license?
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!