HOSTS file updater?

Discussion in 'other software & services' started by bellgamin, Feb 20, 2022.

  1. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    MVPS hasn't updated in a very long time. I need a reasonably active source of updates for my HOSTS file, if one does exist. I will greatly appreciate any & all suggestions.

    Aloha from Hawaii to all
    ~~~~~~~~~~~~~~~~~~~
     
  2. boldrake

    boldrake Registered Member

    Joined:
    Apr 18, 2016
    Posts:
    17
  3. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @boldrake -- I shall give Steven Black's "main+social list" HOSTS file a trial. It's huge & looks REALLY good.

    Thanks to the nth & WELCOME to Wilders!!! :thumb:
     
  4. boldrake

    boldrake Registered Member

    Joined:
    Apr 18, 2016
    Posts:
    17
    my opinion is very good, and updated very often, you decide which of the file to use.

    ;)
     
  5. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
  6. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    Last edited: Feb 20, 2022
  7. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    Lots of good suggestions. I'll give most of them a trial.

    By the way --- I use HostsMan so it's very easy to do try various sources. For those unfamiliar with HostsMan, it's a freeby & portable so it's no problem to give it a try-out. HostsMan helps me manage the HOSTS file painlessly PLUS it lets me merge two HOSTS files and (on demand) scan the HOSTS file for hi-jacks & duplicates.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    @nicolaasjan & @imdb -- My browser is SlimJet, a Chrome clone. Which of the following do you recommend?
    1-Run HOSTS file but not uBlock Origin (uBO)
    or
    2- Run uBO but not HOSTS file.
    or
    3-Run both HOSTS file & uBO
     
  8. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    use nextdns and ubo. nextdns also autoupdates filter lists. nextdns for dns level blocking and ubo for more granular control of website elements at browser level.
    https://nextdns.io
     
  9. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    Option 3, but I have the Hosts file options under "Multipurpose" unchecked.
    A dedicated Hosts file applies system wide. :)
     
  10. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    @bellgamin
    you can get started by watching this vid:
    https://m.youtube.com/watch?v=Pe_0rix6INA
     
  11. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @nicolaasjan -- Where is located Hosts file option "Multipurpose"?

    @imdb -- will watch the vid tomorrow. It's 1 AM here so beddy bye for now.
     
  12. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    HOSTS files are very inefficient as they require a rule for every sub-domain - which makes them so large.

    I'm using dnscrypt-proxy instead. It comes with various goodies, among them its flexible filter syntax which supports place holders. And a simple rule like example.com covers all of its sub-domains. While in a HOSTS file hundreds or thousands of rules are necessary to cover all sub-domains of, e.g., doubleclick.net. A good dnscrypt-proxy compatible list is a HOSTS file on steroids as it covers more with considerably fewer rules.

    There are several public blocklists available, among them mybase which is comprised of various filterlists and maintained by the dnscrypt-proxy author. Those filterlists are the uncommented ones in this file (as a matter of fact practically all of the commented ones are already included in the notracking list). However, you can uncomment/add more lists at will in that config file and create your own comprehensive list with generate-domains-blocklist.py.
     
  13. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    just tried the standard list, many whole internet went down until I restored the default hosts file
     
  14. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    Oh, that's an option in uBlock Origin.
    Filter lists ---> Multipurpose

    Screenshot.
     
  15. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @nicolaasjan - got it. 10Q!

    @Spartan - That's strange. I have used HOSTS files since 1998 & never had one such problem.

    @imdb & @summerheat -- Excellent suggestions but not for me. I am retired & everything on my computers work great, so I avoid the possible aggro of making tweaks & changes to what is not broken.

    My set-up works fast enough, & I have never had an infection or blue-screen-of-death that couldn't be fixed by a simple Restore of a clean image. IMO, imaging is THE best & simplest security -- for me, at least. However, I have passed your excellent suggestions on to my several adult grandchildren & adult great-grandchildren (3 in college now). They are all computer whizzes on the bleeding edge of new stuff. I also feel fairly certain that some Wilders members may give your suggestions a trial -- a goodly number have visited this thread so far.
     
  16. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    @bellgamin
    i understand. then i recommend you go with the third option and "run both hosts file & ubo".
    :thumb:
     
  17. bellgamin

    bellgamin Registered Member

    Joined:
    Aug 1, 2002
    Posts:
    8,102
    Location:
    Hawaii
    @imdb -- Much thanks for your help. Live long & prosper! :-*
     
  18. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,357
    Location:
    Location Unknown
    I guess I'm a little lost. Why use a hosts file at all, since it's been proven that Microsoft can bypass it any time it wants? Why not just use an adblock/tracker blocking DNS service, such as NextDNS or ControlD, that works at the adapter level? You can often still use the same lists, but without the risks of Microsoft bypassing them.

    @bellgamin, I'm pretty sure I also bleed green!
     
  19. Spartan

    Spartan Registered Member

    Joined:
    Jun 21, 2016
    Posts:
    1,424
    Location:
    Dubai
    ok now it worked. I had to wait for a minute I guess until the DNS client service was running.
     
  20. A_mouse

    A_mouse Registered Member

    Joined:
    Jul 29, 2019
    Posts:
    94
    Location:
    A field
    When you load a HOSTS file the DNS service checks each entry, so the bigger the list the longer you see svchost.exe being busy.
    You can't use the net until it finishes.
     
  21. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
    You can try disabling the DNS client service and restart.
    This service is only used for caching DNS entries and on the modern internet DNS lookups are fast enough (~8.5 to 9ms here).

    [Edit]
    Just tried this in a Windows 7 virtual machine and had immediate network connection. :)
     
    Last edited: Feb 21, 2022
  22. imdb

    imdb Registered Member

    Joined:
    Nov 2, 2011
    Posts:
    4,208
    you're most welcome. :thumb:
     
  23. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,940
    not possible with official clicks since windows 10+.
    anyhow both machines here are fast enough to deal with 62.000 entries without stutter. my older machine (which was replaced, win81) had performance issues with same list.
     
  24. nicolaasjan

    nicolaasjan Registered Member

    Joined:
    Sep 23, 2018
    Posts:
    890
    Location:
    The Netherlands
  25. Brummelchen

    Brummelchen Registered Member

    Joined:
    Jan 3, 2009
    Posts:
    5,940
    i know that workaround, which is used on my older machine (sorted out). i just changed some entry on HOSTS file (62.000) and DNS service took some seconds (<1 min) to work on it. thats ok.

    for me, dns service is not really needed, because my router has its own dns cache and firefox has also its dns cache. in such cases its ok to disable, but not further.
     
  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.