FlyerTalk Forums - View Single Post - Question on using the hosts file
View Single Post
Old Feb 28, 2015, 6:27 am
  #9  
LIH Prem
 
 
Join Date: Nov 2000
Location: Upcountry Maui, HI
Posts: 13,312
Originally Posted by BigLar
Contrary to what I've been told, I did a reboot - at that time, the hosts file was read in, and now everything on the list winds up being unreachable (according to ping).

Which is what I wanted.

I generally put my computers to sleep rather than shut down, so I got out of the habit of rebooting.
that's weird, I don't have to reboot with win7. Changes to the hosts file are applied immediately. I just tested it with yahoo.com, entry in the file, ping used that, entry not in the file, ping used dns. No reboot, just edit the file.

I wonder if there's a policy for it somewhere, similar to nsswitch.conf?

Yeah, there is, post #2 in this thread:

http://h30499.www3.hp.com/t5/Systems...8#.VPHCl1PF-Qw

My values were the same as what he reported. Are yours different?

-David

Last edited by LIH Prem; Feb 28, 2015 at 6:40 am
LIH Prem is offline