From owner-freebsd-questions@FreeBSD.ORG Fri May 23 14:48:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 517681065670 for ; Fri, 23 May 2008 14:48:17 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id EC48E8FC1E for ; Fri, 23 May 2008 14:48:16 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m4NEm6lS056672; Fri, 23 May 2008 09:48:07 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080523094622.024ec328@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 23 May 2008 09:47:58 -0500 To: Steve Bertrand From: Derek Ragona In-Reply-To: <4836CFBF.6000901@ibctech.ca> References: <6.0.0.22.2.20080523081722.0249ec10@mail.computinginnovations.com> <4836CFBF.6000901@ibctech.ca> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080523-0, 05/23/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m4NEm6lS056672 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ruel Luchavez , freebsd-questions@freebsd.org Subject: Re: Bind DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2008 14:48:17 -0000 At 09:07 AM 5/23/2008, Steve Bertrand wrote: >Derek Ragona wrote: >>At 09:10 PM 5/22/2008, Ruel Luchavez wrote: >>>Hi ALL, >>> >>>Is it possible in BIND DNS to block images in a certain sites? like for >>>example the popular friends site ( friendster), >>>i want to block most images in that site so that client will be irritated >>>that their images don't load perfectly. but s till >>>they can visit their site? >>> >>>Any idea guys? >>> >>>thans >>define in your hosts any host or URL you want to block as the localhost, >>127.0.0.1 >>You can google for whole host files to use to block a bunch of different >>annoying sites. > >I assumed by the OP's original message that this was a workplace-type >environment, and figured that he wouldn't want to hand-manage this type of >thing. > >Also, pardon my ignorance, but if you were to DNS redirect a domain name >to a specific IP with BIND, wouldn't you have to create a DNS zone for >each domain name? > >Steve no, you usually have /etc/nsswitch.conf set to check files before dns, so hosts is checked first. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.