net_user Posted March 1, 2006 Posted March 1, 2006 i have added some entries to my host file...127.0.0.1 localhost127.0.0.1 music.yahoo.com127.0.0.1 music.msn.com127.0.0.1 zone.msn.com127.0.0.1 games.yahoo.com127.0.0.1 games.com127.0.0.1 miniclip.com127.0.0.1 www.miniclip.com127.0.0.1 games.net127.0.0.1 www.shockwave.com127.0.0.1 shockwave.com127.0.0.1 www.realplayer.com127.0.0.1 realplayer.com127.0.0.1 www.real.com127.0.0.1 real.comyet when i ping any of these hosts...i do not get the 127.0.0.1i get there actual ip address, and i can browse to that site in both ie and firefox....i have rebootedflushed dns, nbtstat -r R RRany clue guys?
cyberpyr8 Posted March 1, 2006 Posted March 1, 2006 You could test to see if DNS is passing it the resolution(obviously it is, but this will tell you if your hosts file is correct) by setting no DNS servers. If you are using DHCP, disable it and manually give yourself an IP, subnet and default GW, but no DNS servers. Try pinging the names and see if you get the 127.0.0.1. That will verify your hosts file is working. You sure that your hosts file isn't named wrong (host.) or that you didn't add an extension to it somehow? Just a few things to try.
net_user Posted March 1, 2006 Author Posted March 1, 2006 found it....i had the local dns client service running....i just put in my login script net stop dnscachebut thanks for the reply
Zxian Posted March 2, 2006 Posted March 2, 2006 Are you trying to make an ad-block type hosts file?You're blocking quite a few major sites there, and disabling the DNS Client service will just slow down your browsing.
net_user Posted March 2, 2006 Author Posted March 2, 2006 yeah...basically i'm follownin the steps on this page...http://www.mvps.org/winhelp2002/hosts.htmand since i have a dns server on our lan...the local dns service was messin upbut all is workin now...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now