Just updated HOSTS in Win7; now want to add item


  1. Posts : 394
    Home Premium 64 bit
       #1

    Just updated HOSTS in Win7; now want to add item


    Firstly I see that all the items listed by the Hosts file package have 0.0.0.0 by then rather than 127.0.0.1. There is one line at the top with 127.0.0.1. Why is the file now set up in that way?

    I have a site that I wish to add manually. How do I go about that? For instance do I use 0.0.0.0 or 127.0.0.1 when pasting in the site, wherein the lists of forbidden addresses should it be placed.

    ( It may be my elderly status but dealing with MVPS HOSTS seems to get more complicated)
      My Computer


  2. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #2

    Well there's an explanation on the website and it states:

    "Important Note: The HOSTS file now contains a change in the prefix in the HOSTS entries to "0.0.0.0" instead of the usual "127.0.0.1".
    This was done to resolve a slowdown issue that occurs with the change Microsoft made in the "TCP loopback interface" in Win8.1."

    Now as I use several different sources for hosts files I can see no reason not to replace all 0.0.0.0 entries with 127.0.0.1 using your text editor. Personally I use EmEditor and set a registy entry so that any application that calls notepad.exe to open a file will use emeditor.exe instead.

    Just updated HOSTS in Win7; now want to add item-emeditor.jpg

    Note: There are limitations as to what we can discuss. See item 13 here:

    Forum Rules
      My Computer


  3. Posts : 394
    Home Premium 64 bit
    Thread Starter
       #3

    I shall change all to 127.0.0.1. Really I'm at a loss as to what rule I've broken, unless we are so serious as to ban any humour or asides. God help us!

    Missed AFAICS is the answer to how I add site to banned list
      My Computer


  4. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #4

    No rules broken! It's just that the topic of blocking sites using a Hosts file can be problematic if you start discussing anything under that rule.
      My Computer


  5. Posts : 394
    Home Premium 64 bit
    Thread Starter
       #5

    Thanks!

    You mentioned use of different hosts files. Doesn't that lead to a lot of overlapping or possible conflicts? I use MVPS. Were I to use a further host source would they be installed in Windows\System32\drivers\etc as well.
      My Computer


  6. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #6

    Information on hosts file


    rundwald said:
    Thanks!

    You mentioned use of different hosts files. Doesn't that lead to a lot of overlapping or possible conflicts? I use MVPS. Were I to use a further host source would they be installed in Windows\System32\drivers\etc as well.
    Well yes it does lead to overlapping (duplicates) and if you download a new hosts file it would need merging with the current one rather than letting it replace the old one. The only ways do merge that I know of are manually copying and pasting or else using a Hosts File Manager. If you use a decent one it will remove duplicates.

    Re: Your original point.

    Obviously the next time you download from the site you use you'll get another 0.0.0.0 hosts file. I suppose that could cause problems if you want to merge it. I guess you will have to put up with manually editing 0.0.0.0 entries for the time being.

    This is what I use:

    Just updated HOSTS in Win7; now want to add item-hostsman-1.jpg

    Just updated HOSTS in Win7; now want to add item-hostsman-2.jpg

    Currently merging hosts files from eight sources and deduplicating after the merge results in almost 1.2 million entries. That takes around 15 minutes every few months to update and de=duplicate.
      My Computer


  7. Posts : 5,656
    Windows 7 Ultimate x64 SP1
       #7

    Callender said:
    Currently merging hosts files from eight sources and deduplicating after the merge results in almost 1.2 million entries. That takes around 15 minutes every few months to update and de=duplicate.
    Hey Callender, what are you using the HOSTS file for? Job reasons?
      My Computer


  8. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #8

    Mostly anti-malware , anti-exploit and privacy concerns is the reason.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:07.
Find Us