From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2919 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: eric vidal Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: keeping sites off Date: Mon, 30 Mar 2020 08:10:10 +1100 Message-ID: <20200330081010.908995c7d05d2bf9c2d19a21@obarun.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95636"; mail-complaints-to="usenet@ciao.gmane.io" To: supervision@list.skarnet.org Original-X-From: supervision-return-2508-gcsg-supervision=m.gmane-mx.org@list.skarnet.org Sun Mar 29 23:09:11 2020 Return-path: Envelope-to: gcsg-supervision@m.gmane-mx.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by ciao.gmane.io with smtp (Exim 4.92) (envelope-from ) id 1jIfB9-000On7-4N for gcsg-supervision@m.gmane-mx.org; Sun, 29 Mar 2020 23:09:11 +0200 Original-Received: (qmail 11030 invoked by uid 89); 29 Mar 2020 21:09:36 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 11023 invoked from network); 29 Mar 2020 21:09:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=obarun.org; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References: In-Reply-To:Message-Id:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PMZl5KATNi/tPXCwhdGBIS5jmmOgO3/FYJn9LPW/hpc=; b=BCvzg677orA0XVZz5ou5/+IKsc cn0xWxMdFnLgZVZnBN4OALa/i/FKA4REKTT4qTFK+IAAMoMrITRQNRuQ8Uw80wzH8O0ioo0O0I93b XhKskEeQLRP8zR3RInEYMp5i9QAz7sKxBnDZ4Exhxc8sRt2D/kBmiQfvcv/parff94yMBLKGOmCmu sv+rjUFE80T3HlVWwW0YJtZUAiuUzDUXy9Pe0oo4h5kWelJH5Shpy3307YDfcL7MA6zLAYShBeDYQ /ywVAhUPq0RRr/mJYgwm45bSz5JtwXdTHW6pLV4a3nPqupY0ubZz7hnHNMAb+Qb+HnjXWR+fk6V+E y4L8IRGw==; In-Reply-To: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sv26.byethost26.org X-AntiAbuse: Original Domain - list.skarnet.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - obarun.org X-Get-Message-Sender-Via: sv26.byethost26.org: authenticated_id: eric@obarun.org X-Authenticated-Sender: sv26.byethost26.org: eric@obarun.org Xref: news.gmane.io gmane.comp.sysutils.supervision.general:2919 Archived-At: On Sun, 29 Mar 2020 21:44:18 +0100 Jorge Almeida 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