Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WIndows 7 Hostfile

Posted on 2010-11-12
9
Medium Priority
?
379 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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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!
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2

972 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