Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

WIndows 7 Hostfile

Posted on 2010-11-12
9
Medium Priority
?
374 Views
Last Modified: 2012-05-10
what would cause windows 7 to ignore an entry in the hostfile
c:\windows\system32\drivers\etc\hosts
0
Comment
Question by:sctowne
[X]
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
9 Comments
 
LVL 34

Expert Comment

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

Expert Comment

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

http://serverfault.com/questions/50934/hosts-file-being-ignored
0
 
LVL 3

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 127.0.0.1 ?

If you give some more details I should be able to help further.
0
Technology Partners: 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.
0
 

Author Comment

by:sctowne
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....?
0
 
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.
0
 

Accepted Solution

by:
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
0
 

Author Closing Comment

by:sctowne
ID: 37023036
Thanks for Everyones help
0
 
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
0

Featured Post

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!

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!
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

722 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