I probably had some mis-understanding toward host files. so my understanding is that hosts file is the first priority DNS lookup place.
sometimes I will encounter some annoying websites like this one wo1.shouyoushe.com. I guess my ISP send that damn thing to me. so I just want to block anything from this place to show up on my computer. so I added this line to my hosts file on Mac
127.0.0.2 wo1.shouyoushe.com
just some address that don't exist. but after I flush the DNS cache, it is still there When I try to access it.
what is the issue ? is there a more appropriate way to do this on MAC ?