Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.os.windows-10 > #96288
| From | Paul <nospam@needed.invalid> |
|---|---|
| Newsgroups | alt.comp.os.windows-10 |
| Subject | Re: Hosts file entries. |
| Date | 2019-08-16 03:39 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <qj5mjt$ned$1@dont-email.me> (permalink) |
| References | <rf09lepjaifj6if6hqs42js9qc2v3qg7bl@4ax.com> <2s1cletmmlsm7t1n4tqhud5a3q8depi9gt@4ax.com> |
Peter Jason wrote:
> On Thu, 15 Aug 2019 07:52:11 +1000, 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
>>
>> *******************************
>> # Copyright (c) 1993-2009 Microsoft Corp.
>> #
>> # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
>> #
>> # This file contains the mappings of IP addresses to host names. Each
>> # entry should be kept on an individual line. The IP address should
>> # be placed in the first column followed by the corresponding host
>> name.
>> # The IP address and the host name should be separated by at least one
>> # space.
>> #
>> # Additionally, comments (such as these) may be inserted on individual
>> # lines or following the machine name denoted by a '#' symbol.
>> #
>> # For example:
>> #
>> # 102.54.94.97 rhino.acme.com # source server
>> # 38.25.63.10 x.acme.com # x client host
>>
>> # localhost name resolution is handled within DNS itself.
>> # 127.0.0.1 localhost
>> # ::1 localhost
>>
>> 127.0.0.1 www.expressvpn.com
>> 127.0.0.1 expressvpn.com
>> 127.0.0.1 www.ladbrokes.com.au
>> 127.0.0.1 ladbrokes.com.au
>> 127.0.0.1 www.get-express-vpn.com
>> 127.0.0.1 get-express-vpn.com
>> 127.0.0.1 www.drazens.com
>> 127.0.0.1 drazens.com
>> 127.0.0.1 www.nutaku.net
>> 127.0.0.1 nutaku.com
>> 127.0.0.1 www.trazens.com
>> 127.0.0.1 trazens.com
>> 127.0.0.1 www.velocecdn.com
>> 127.0.0.1 velocecdn.com
>>
>> ***********************************************************
>>
>> Is this the correct way to do it; should some entries be on the same
>> line?
>>
>>
>
>
> Thanks for the advice.
>
> I have a copy of the Hosts file on the desktop into which I paste any
> errant URL. Then occasionally I copy this over to...
> C:\Windows\System32\drivers\etc
> to swap the Hosts file there.
> So far this is working well.
>
> The blocked sites just disappear, but one on them throws up a "can't
> be reached" on a separate browser page. Can this just be made to
> disappear too?
Doesn't the browser have a "Popup Blocker" tick box
for that in the preferences ? In 2019, that's probably
ticked by default.
Paul
Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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