On Sun, 29 Mar 2020 21:44:18 +0100
Jorge Almeida <jjalmeida_at_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_at_obarun.org>
Received on Sun Mar 29 2020 - 21:10:10 UTC