From: eric vidal <eric@obarun.org>
To: supervision@list.skarnet.org
Subject: Re: keeping sites off
Date: Mon, 30 Mar 2020 08:10:10 +1100 [thread overview]
Message-ID: <20200330081010.908995c7d05d2bf9c2d19a21@obarun.org> (raw)
In-Reply-To: <CAKpSnp+-j8bWeQA47djK7z8eLD1BKHprcsE63a5=QciJbOM1JA@mail.gmail.com>
On Sun, 29 Mar 2020 21:44:18 +0100
Jorge Almeida <jjalmeida@gmail.com> wrote:
> (This may be somewhat OT, so I apologize in advance)
>
> I use dnscache, in home computers. I have
> order hosts, bind
> in /etc/host.conf
> and in /etc/hosts I have stuff like
>
> 0.0.0.0 www.facebook.com
>
> The problem is that /etc/hosts does not support wildcards, so
> graph.facebook.com (for example) is not filtered. So, is there any
> solution? Should I replace dnscache by something else? (something else
> trustworthy and supervision-friendly) Any other setup compatible with
> dnscache?
> Any suggestion?
> Thanks
>
> Jorge Almeida
hi there,
try to redirect to your local address in your /etc/hosts
127.0.0.1 www.facebook.com
127.0.0.1 *facebook.com
--
eric vidal <eric@obarun.org>
next prev parent reply other threads:[~2020-03-29 21:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 20:44 Jorge Almeida
2020-03-29 21:10 ` eric vidal [this message]
2020-03-30 0:18 ` Laurent Bercot
2020-03-30 8:38 ` Jonathan de Boyne Pollard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200330081010.908995c7d05d2bf9c2d19a21@obarun.org \
--to=eric@obarun.org \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).