WIndows 7 Hostfile

what would cause windows 7 to ignore an entry in the hostfile
c:\windows\system32\drivers\etc\hosts
sctowneAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sctowneConnect With a Mentor Author Commented:
Actually my problem is solved now, it turned out to be a firewall issue.

Thank you all who wrote comments
0
 
Paul MacDonaldDirector, Information SystemsCommented:
If the hosts file entry is bad.
0
 
alpharomCommented:
may be if you are using a proxy server for browsing

http://serverfault.com/questions/50934/hosts-file-being-ignored
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
David BrennanSenior Integration EngineerCommented:
I presume it's formed the same as the example entries etc?

If it's a TCP/IP application like a web browser then it should use DNS and consult hosts file first. However if it's a NETBT / Netbios application as far as I know then WINS comes into play. is there anything in the lmhosts file?

Are you trying to redirect a connection for some specific reason or are you just adding a bad address to a blacklist - i.e. redirecting to 127.0.0.1 ?

If you give some more details I should be able to help further.
0
 
Paul MacDonaldDirector, Information SystemsCommented:
To riff off [alpharom], there could be firewall rules that reroute traffic as well.
0
 
sctowneAuthor Commented:
I have given up on the host file approach and am using a dns forwarder, but still have another problem.
 I can do a nslookup and the ip resolves correctly and I can also ping the ip address, but when I ping just the host name (as opposed to the ip address) it fail immediately.
Any thoughts....?
0
 
Paul MacDonaldDirector, Information SystemsCommented:
Make sure you have a valid DNS server specified and that the DNS server is configured to give you a response for host you're trying to contact.  It may be that the host is not in DNS or that the DNS server doesn't exist or that the DNS server isn't configured to forward resolution requests.
0
 
sctowneAuthor Commented:
Thanks for Everyones help
0
 
Paul MacDonaldDirector, Information SystemsCommented:
"To riff off [alpharom], there could be firewall rules that reroute traffic as well." - me

"Actually my problem is solved now, it turned out to be a firewall issue" - you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.