Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #96170

Re: Hosts file entries.

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups alt.comp.os.windows-10
Subject Re: Hosts file entries.
Date 2019-08-14 18:14 -0400
Organization A noiseless patient Spider
Message-ID <qj215d$gne$1@dont-email.me> (permalink)
References <rf09lepjaifj6if6hqs42js9qc2v3qg7bl@4ax.com>

Show all headers | View raw


"Peter Jason" <pj@jostle.com> wrote


|I am using the hosts file to block unwanted Internet sites, and the
| following works so far. Win10 1903
|

At the top you need:

127.0.0.1 localhost

Uncommented. Then for each entry it should be on a separate
line. Note that HOST distinguishes subdomains. What that means
is that expressvpn.com will not cover a1.expressvpn.com.
ads.doubleclick.net will not work to block ads2.doubleclick.net.

  Fortunately, most tracking and ad companies don't bother to
vary their URLs. But some do. It's for that reason that I strongly
suggest using Acrylic DNS proxy. Acrylic has its own HOST file
and allows wildcards.

  Acrylic takes a few steps to set up, but it's not complex. Once
installed, when something makes a DNS call to find the IP address
of a URL, Acrylic gets called instead of Windows. Acrylic then
makes the DNS call, if necessary, to the DNS server of your
choosing. With Acrylic you can use entries like:

127.0.0.1 *.doubleclick.net

 That single line will block all URLs that go to the top level
domain of doubleclick.net. That allows you to have a HOSTS
file that's much smaller while also being much more dependable.

  As an example, the following is what I use to block Google
alone. Google is fantastically successful at surrveillance. Nearly
all commercial sites use their tag manager and/or fonts and/or
javascript and/or ads. That means that unless you act, Google
knows nearly every webpage you visit. And of course Google is
only one sleazeball in this mess. There's Facebook, Amazon,
Akamai, Twitter, and lots of ad/tracking companies.

127.0.0.1 *.googlesyndication.com
127.0.0.1 *.googleadservices.com
127.0.0.1 *.googlecommerce.com
127.0.0.1 *.scorecardresearch.com
127.0.0.1 *.1e100.com
127.0.0.1 *.1e100.net
127.0.0.1 *.doubleclick.net
127.0.0.1 *.doubleclick.com
127.0.0.1 *.googletagservices.com
127.0.0.1 *.googletagmanager.com
127.0.0.1 *.google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 fonts.googleapis.com
127.0.0.1 *.2mdn.net
127.0.0.1 googleadapis.l.google.com
127.0.0.1 *.gstatic.com
127.0.0.1 plusone.google.com
127.0.0.1 cse.google.com
127.0.0.1 www.google.com/cse
127.0.0.1 www.youtube-nocookie.com
127.0.0.1 *.appspot.com 

Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Hosts file entries. Peter Jason <pj@jostle.com> - 2019-08-15 07:52 +1000
  Re: Hosts file entries. "Mayayana" <mayayana@invalid.nospam> - 2019-08-14 18:14 -0400
  Re: Hosts file entries. Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-14 22:34 +0000
  Re: Hosts file entries.  Arlen George Holder <arlinggeorgeholder@nospam.net> - 2019-08-15 00:29 +0000
  Re: Hosts file entries. "s|b" <me@privacy.invalid> - 2019-08-15 18:29 +0200
    Re: Hosts file entries. "Carlos E.R." <robin_listas@es.invalid> - 2019-08-16 12:12 +0200
  Re: Hosts file entries. Peter Jason <pj@jostle.com> - 2019-08-16 11:36 +1000
    Re: Hosts file entries. Paul <nospam@needed.invalid> - 2019-08-16 03:39 -0400
      Re: Hosts file entries. notX <no.email@dummy.invalid> - 2019-08-16 11:42 -0500
    Re: Hosts file entries. MikeS <MikeS@fred.com> - 2019-08-16 17:39 +0100
      Re: Hosts file entries. Rabid Robot <rabid@rob.ot> - 2019-08-16 13:48 -0400

csiph-web