Wilders HOSTS entry Question ?

Discussion in 'Forum Related Discussions' started by StevieO, Mar 20, 2006.

Thread Status:
Not open for further replies.
  1. StevieO

    StevieO Registered Member

    Joined:
    Feb 2, 2006
    Posts:
    1,067
    This is what was posted on the main page whilst you were off air transferring over to the new hosting service.

    Now call me stupid if you like, but won't doing that have the reverse effect, and just block people from gaining access ? The new IP and the ones recommended for the HOSTS file, are exactly the same !


    StevieO
     
    Last edited by a moderator: Mar 20, 2006
  2. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    18,280
    Location:
    New England
    Why do you think that would block people? o_O

    A hosts file maps an IP address to a name. That's its purpose. If you are having DNS problems, you can make an entry in your hosts file that starts with the real IP of where you want to go, and the name of the site to associated that address with. Then whenever you access that name, your browser (or other network aware apps) will look that name up in the hosts file and use the IP address associated with it there. If it is the right IP address, you get where you want to go.

    If you are thinking that the purpose of hosts files is to block stuff, then you don't understand what hosts files were originally developed to do. People 'now' use hosts files a lot more to block because it is very rare to have DNS problems that would cause you to have to map IPs to names on your own. But, the "blocking effect" of a host file is not in the name being listed there, but rather by associating the name with the wrong IP address - for example, using 127.0.0.1 as a site's IP address. That address would prevent you from reaching the actual site as your computer would look for the site on your own machine (localhost) instead.
     
  3. StevieO

    StevieO Registered Member

    Joined:
    Feb 2, 2006
    Posts:
    1,067
    I have never seen any mention of including entries in a HOSTS file to enable people to reach a site. All the advice and info i've seen, is to include entries to block bad IP's etc !

    To be perfectly honest, i feel a lot of people will think exactly the same too.

    Thanks for the clarification, and sorry for being a bit thick !


    StevieO
     
  4. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    18,280
    Location:
    New England
    Well, it's all part of know how and why things work. A lot of people plug in all those "127.0.0.1 name.xyz" entries without any idea of what it is doing. The first purposes of hosts files were not to block but to enable by mapping the proper address to a site's name. Then along the way someone got the bright idea of putting a wrong address in place of the real IP address, and discovered it'd make a neat blocking tool. Today, that's almost all most people use their hosts files for, even though that wasn't its original purpose.
     
  5. gerardwil

    gerardwil Registered Member

    Joined:
    Jan 17, 2004
    Posts:
    4,748
    Location:
    EU
  6. bigc73542

    bigc73542 Retired Moderator

    Joined:
    Sep 21, 2003
    Posts:
    23,934
    Location:
    SW. Oklahoma
    I had to add the entries to get to the new hosting service. never entered my mind about it blocking me since I was putting a correct ip addy in there.
     
  7. StevieO

    StevieO Registered Member

    Joined:
    Feb 2, 2006
    Posts:
    1,067
    I have to say that i do "know how" to include/exclude entries in the HOSTS file, i just wasn't aware of the original purpose it was designed for.

    Anyway thanks for the history lesson, might make a good sticky or info type something etc !


    StevieO
     
  8. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    So, if I have this right, then if my ISP's DNS goes south, will this entry ensure that I can still get to Wilders ?
     
  9. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    24,099
    Location:
    UK
    Could someone been kind enough to tell me where on my computer I can see a list of host files or install an entry.

    I bet there are loads of people like me who have found this thread a good learning curve, after all you learn something every day!

    Thank you:)
     
  10. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    Look in your "C:\WINDOWS\system32\drivers\etc" folder, assuming you have Windows XP installed to the "standard" location
     
  11. stapp

    stapp Global Moderator

    Joined:
    Jan 12, 2006
    Posts:
    24,099
    Location:
    UK
    Thanks, it's at this address but asks which prog I want to open it with.
    There is a host one and one called hosts msn and Imhosts.sam which windows says it has to look up what created it.
     
  12. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    You want "host" and try pointing it to "notepad.exe" in your "C:\Windows" folder. It's just a simple text file. You just don't have the convenient double-click functionality because there is no "txt" extension (no extension at all, for that matter).
     
  13. Rmus

    Rmus Exploit Analyst

    Joined:
    Mar 16, 2005
    Posts:
    4,020
    Location:
    California
    Years back, it was advocated by many that connection to a site would be quicker by mapping via the Hosts file. Running a series of tests using a stop watch, I didn't find it to be so, and I never bothered any more with the Hosts file.
     
  14. LowWaterMark

    LowWaterMark Administrator

    Joined:
    Aug 10, 2002
    Posts:
    18,280
    Location:
    New England
    The name of the file is actually: hosts

    As mentioned, it has no extension and the best way to access it is using notepad, as crofttk said.

    The link that gerard posted above has good information about the hosts file; where it is on different versions of Windows, it's purpose and format.

    http://www.mvps.org/winhelp2002/hosts.htm

    I've never really seen a speed difference either. However, some people have ISPs with poor DNS, or if they are having network issues with the ISP, there can be delays getting DNS responses. A hosts file entry for a site you use often cuts all that DNS traffic out of the picture and let's you just get there.

    For myself, I have the names of my own servers (like this one) in my hosts file just to reduce that excess DNS server babble, and to ensure I get where I want to go all the time.
     
  15. crofttk

    crofttk Registered Member

    Joined:
    May 15, 2004
    Posts:
    1,979
    Location:
    Eastern PA, USA
    Ooops, I shoulda known better.
    Good, I guess I did understand things correctly then.:)
     
  16. dog

    dog Guest

    A few OT/Personal Attack posts were removed from this thread.

    Let's please keep the personal stuff out of the threads. We all know the score. ;)

    Thanks

    Steve
     
  17. Carver

    Carver Registered Member

    Joined:
    Feb 5, 2006
    Posts:
    1,910
    Location:
    USA
  18. TonyW

    TonyW Registered Member

    Joined:
    Oct 12, 2005
    Posts:
    2,741
    Location:
    UK
    I get a blank page in Firefox when I go to that link. However, this one works fine.
     
  19. Carver

    Carver Registered Member

    Joined:
    Feb 5, 2006
    Posts:
    1,910
    Location:
    USA
    I'm sorry that you are having trouble with Firefox, I just tried the link in Firefox and it works for me.
     
  20. MikeBCda

    MikeBCda Registered Member

    Joined:
    Jan 5, 2004
    Posts:
    1,627
    Location:
    southern Ont. Canada
    I use the OK Hosts File Reader (sorry I don't have an addy for that). One of its advantages is that you can search for any hosts file(s) you might have in addition to the "official" one, and edit or delete any or all of them.
     
  21. Q Section

    Q Section Registered Member

    Joined:
    Feb 5, 2003
    Posts:
    778
    Location:
    Headquarters - London & Field Offices -Worldwide
    Using Hoster 3.1 here. It has the most bells and whistles compared to HostsFileReader, Hostes and Hostsman. Also free.
     
  22. gerardwil

    gerardwil Registered Member

    Joined:
    Jan 17, 2004
    Posts:
    4,748
    Location:
    EU
    One thing I don't understand very well. What's in general the use of the possibility to swap entries between 127.0.0.1 and 0.0.0.0 ?

    Gerard
     
  23. WSFuser

    WSFuser Registered Member

    Joined:
    Oct 7, 2004
    Posts:
    10,639
    heres hpguru's take on 127.0.0.1 vs 0.0.0.0 (calendar of updates thread link)
    i personally use 127.0.0.1 as hostsman's internal server uses it..
     
  24. gerardwil

    gerardwil Registered Member

    Joined:
    Jan 17, 2004
    Posts:
    4,748
    Location:
    EU
    Thanks for info WSFuser :)

    Gerard
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.