WIndows 7 Hostfile

Posted on 2010-11-12
Last Modified: 2012-05-10
what would cause windows 7 to ignore an entry in the hostfile
Question by:sctowne
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
LVL 34

Expert Comment

by:Paul MacDonald
ID: 34121252
If the hosts file entry is bad.

Expert Comment

ID: 34121253
may be if you are using a proxy server for browsing

Expert Comment

by:David Brennan
ID: 34121269
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 ?

If you give some more details I should be able to help further.
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Expert Comment

by:Paul MacDonald
ID: 34121448
To riff off [alpharom], there could be firewall rules that reroute traffic as well.

Author Comment

ID: 34122735
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....?
LVL 34

Expert Comment

by:Paul MacDonald
ID: 34122755
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.

Accepted Solution

sctowne earned 0 total points
ID: 34123120
Actually my problem is solved now, it turned out to be a firewall issue.

Thank you all who wrote comments

Author Closing Comment

ID: 37023036
Thanks for Everyones help
LVL 34

Expert Comment

by:Paul MacDonald
ID: 36999576
"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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

752 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