Solved

WIndows 7 Hostfile

Posted on 2010-11-12
9
359 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 33

Expert Comment

by:paulmacd
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
 
LVL 33

Expert Comment

by:paulmacd
ID: 34121448
To riff off [alpharom], there could be firewall rules that reroute traffic as well.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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 33

Expert Comment

by:paulmacd
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 33

Expert Comment

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now