HOSTS File FAQ - Testing the HOSTS File

Discussion in 'Virus Information' started by Kayman, Nov 5, 2005.

  1. Kayman

    Kayman Guest

    After pinging the coolwebsearch.com I compared my result with the screenshot
    and found some of the values are differ significantly.
    My pinging results are as follows:

    Pinging coolwebsearch.com [66.250.74.150] with 32 bytes of data:
    Reply from 66.250.74.150 : bytes = 32 time 325ms TTL = 42
    Reply from 66.250.74.150 : bytes = 32 time 354ms TTL = 44
    Reply from 66.250.74.150 : bytes = 32 time 357ms TTL = 44
    Reply from 66.250.74.150 : bytes = 32 time 337ms TTL = 45

    Pinging statistics for 66.250.74.150 :
    Packets: Sent = 4, Received = 4, Lost = <0%>,
    Approximate round trip times in milli-seconds, Average = 343ms

    Could somebody please advise if these results are acceptable, thanks.
     
    Kayman, Nov 5, 2005
    #1
    1. Advertisements

  2. Kayman

    Jim Guest

    Well, since this doesn't tell you how far the roundtrip goes, how many nodes
    lie between your computer and the target, or how busy the line is, I can't
    say whether this is acceptable or not.
    I will tell you that the round trip time from my computer to the target was
    about 54 ms. That is through a DSL connection.
    Jim
     
    Jim, Nov 5, 2005
    #2
    1. Advertisements

  3. Kayman

    Kayman Guest

    Thanks Jim.
    The screenshot in "HOSTS File FAQ - How do I know the HOSTS File is
    working?" indicates the following:-
    Pinging coolwebsearch.com [127.0.0.1]
    But my Pinging to coolwebsearch.com indicates: [66.250.74.150]
    Shouldn't my Pinging to coolwebsearch.com indicate the same
    ([127.0.0.1])number?

     
    Kayman, Nov 5, 2005
    #3
  4. Kayman

    Galen Guest

    In Kayman <> had this to say:

    My reply is at the bottom of your sent message:
    It should be pinging localhost, 0.0.0.0, or 127.0.0.1 depending on what
    you're doing there... You mention some sort of HOSTS File FAQ... This is a
    public newsgroup based on Microsoft's software and hosted on their servers.
    A MSN search for HOSTS File FAQ for site:microsoft.com doesn't show any such
    screen shot? Are you connecting via a proxy? That's one such critter that
    could cause problems with using the hosts file for blocking sites.

    --
    Galen - MS MVP - Windows (Shell/User & IE)
    http://dts-l.org/

    "A man should keep his little brain attic stocked with all the
    furniture that he is likely to use, and the rest he can put away in the
    lumber-room of his library where he can get it if he wants it."

    Sherlock Holmes
     
    Galen, Nov 5, 2005
    #4
  5. Kayman

    Kayman Guest

    Thanks for response Galan.

    The HOSTS File FAQ can be found here
    http://www.mvps.org/winhelp2002/hostsfaq.htm . just scroll down to the last
    question "How do I know if the HOSTS file is working?", click it and you
    will see "Testing the HOSTS File". The second line of the paragraph shows
    [screenshot], click on it and you will see what I am talking about. I think
    that this website is supported by Microsoft MVP's. I receive regular HOSTS
    file updates from Mr. Mike Burgess Microsoft MVP.

    I am living in an apartment complex in which wireless connection is
    provided. My computer is funished with a TRENDnet - TEW-229UB, 11MBS 802.11
    Wireless USB Adapter.

    Thanks for looking into my query and really appreciate advice if I need to
    reconfigure my system.
    Best regards,

     
    Kayman, Nov 5, 2005
    #5
  6. Kayman

    Jim Guest

    If when you ping 127.0.0.1 you get any system other than your own, the test
    of the host file has failed.
    The local system has always been that number.
    Jim
     
    Jim, Nov 5, 2005
    #6
  7. Kayman

    Kayman Guest

    Thanks for response Jim.
    My technical knowledge is limited and I don't understand what you are trying
    to explain.
    According to my Internet Protocol (TCP/IP) Properties the IP address and DNS
    server are obtained automatically.
    According to my Wireless Network Connection Status The Address Type is
    assigned by DHCP and the IP Address is 192.168.1.47.
    And when pinging coolwesearch.com (as recommended by HOSTS FAQ) the number
    66.250.74.150 is displayed.
    All this is very confusing....
    Regards,



     
    Kayman, Nov 6, 2005
    #7
  8. Kayman

    Jim Guest

    The Internet Protocol specification defines the address 127.0.0.1 as an IP
    address of the local machine (the one that you are using). Thus, pinging
    127.0.0.1 can never go anywhere but to your computer.
    Pinging coolwebsearch.com must never return the address 127.0.0.1.
    Jim
     
    Jim, Nov 6, 2005
    #8
  9. Kayman

    Jim Guest

    Certainly the translation from a name to an IP address should be done by the
    DNS server.
    So, you are behind a router. The address range 192.168.xxx.xxx is not
    routable by the design of the Internet Protocol.
    Once upon a time, we had to enter common IP addresses and their translations
    into the Hosts file. However, these days the DNS servers do the
    translation, and the Host file is not used except to specify the local host
    address.
    Jim
     
    Jim, Nov 6, 2005
    #9
  10. Kayman

    Kayman Guest

    Jim, thanks for your patience and explainations.
    Kind regards,

     
    Kayman, Nov 6, 2005
    #10
  11. Kayman

    Galen Guest

    In Kayman <> had this to say:

    My reply is at the bottom of your sent message:
    Don't quote me on this but it's my experience that there's trouble using the
    hosts file when you're using a 192.168.*.* address. Instead you're pretty
    safe just importing the sites into your restricted zone. There's a number of
    applications - from Spyware Blaster to Spybot which have huge lists of these
    that will do it for you. I'd recommend that instead. For blocking ads, this
    is the tool I've been beta testing, you can try http://www.adsfilter.com/en/
    which works like a champ.

    --
    Galen - MS MVP - Windows (Shell/User & IE)
    http://dts-l.org/

    "A man should keep his little brain attic stocked with all the
    furniture that he is likely to use, and the rest he can put away in the
    lumber-room of his library where he can get it if he wants it."

    Sherlock Holmes
     
    Galen, Nov 6, 2005
    #11
  12. Kayman

    Kayman Guest

    Thanks for valuable info Galen.
    Prior reading your post I downloaded HOSTS File Manager version 1.0.1.2 from
    http://www.mvps.org/PracticallyNerded/SoftMain.htm .
    Sofar the system appears to be running satisfactory. However, I noticed
    that the small screen of the WLAN Scanning icon (located in the systems
    tray) has changed its color, it's now red.
    Should I delete/remove the HOSTS File Manager and
    C:\WINDOWS\SYSTEM32\DRIVERS\ETC and rely on Spyware Blaster and Spybot S&D ?
    Kind regards,

     
    Kayman, Nov 6, 2005
    #12
  13. Kayman

    Galen Guest

    In Kayman <> had this to say:

    My reply is at the bottom of your sent message:
    <snip>

    Alright... This is likely to offend at least a few people to hear me say
    this but, well, I don't recommend usage of the hosts file at all and if you
    do I certainly don't recommend that you use someone else's hosts file
    because what you block or allow is a very personal thing. I did, for a good
    many years, rely on such a critter and it was good enough I suppose but
    throughout the years I've learned to make better usage of the tools that I
    feel are more easily accessible.

    For instance to add sites to the restricted zone I use this tool right here:

    http://www.microsoft.com/windows/ie/previous/webaccess/pwrtwks.mspx

    Yup, works famously with IE 6.0...

    I use the afore mentioned app, now, to block ads...
    http://www.adsfilter.com/en/

    I use SpywareBlaster to add a bunch of sites to my restricted zone, I find
    that's not too intrusive but very effective. Sure, a site may still show up
    but it's not going to be able to do a heck of a lot if you've got the
    restricted zone tied down pretty well and everything's set to disable...

    SpywareBlaster:
    http://www.javacoolsoftware.com/spywareblaster.html

    When and if I use the hosts file or am forced to help someone manage their
    hosts file I HIGHLY recommend this tool:

    Hostess :
    http://www.raymarron.com/hostess/

    (It's a pretty decent app, he moved on to coding in a different language but
    it's still very effective and VERY easy to use though installing it as a
    program was something you had to do manually the last time I'd used it.)

    I guess, to be honest, I see bulking up the hosts file with a plethora of
    sites as a waste of time? They can be just as easily defeated (though you
    still may access the site which I consider a plus) by putting them into the
    restricted zone. These are, of course, my views based on how I personally
    opt to use my systems and the mileage you get may in fact vary. It's a lot
    simpler - the above sites will get you a great deal of a head start - and as
    effective but more easily managed in my opinion.

    --
    Galen - MS MVP - Windows (Shell/User & IE)
    http://dts-l.org/

    "A man should keep his little brain attic stocked with all the
    furniture that he is likely to use, and the rest he can put away in the
    lumber-room of his library where he can get it if he wants it."

    Sherlock Holmes
     
    Galen, Nov 6, 2005
    #13
  14. Kayman

    Kayman Guest

    Again, thank you very much for informatory write up. This will give me
    something to ponder about. I don't think that anybody should be offended by
    communicating your experiences to this newsgroup. It's really up to the
    operator as to whether or not implementing your recommendation. Obviousely,
    your alternative to HOSTS file seems to be working. If anything your
    account should create a lively discussion.
    With very best regards,
     
    Kayman, Nov 6, 2005
    #14
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.