From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 02:06:13 2007 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 6932516A419 for ; Wed, 12 Dec 2007 02:06:13 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate1.pacific.net.sg (smtpgate1.pacific.net.sg [203.120.90.31]) by mx1.freebsd.org (Postfix) with SMTP id B03EB13C4E3 for ; Wed, 12 Dec 2007 02:06:12 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 29716 invoked from network); 12 Dec 2007 02:06:10 -0000 Received: from adsl2.dyn234.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.234.2) by smtpgate1.pacific.net.sg with ESMTPA; 12 Dec 2007 02:06:09 -0000 Message-ID: <475F4209.8080507@pacific.net.sg> Date: Wed, 12 Dec 2007 10:06:01 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: Alex Zbyslaw , FreeBSD Questions References: <475E0190.7030909@pacific.net.sg> <200712111718.05876.nvass@teledomenet.gr> <475EAC9D.1020902@pacific.net.sg> <20071211084309.A16234@wonkity.com> <475EB887.6070902@pacific.net.sg> <475EC215.8060004@dial.pipex.com> In-Reply-To: <475EC215.8060004@dial.pipex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: performance impact of large /etc/hosts files 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: Wed, 12 Dec 2007 02:06:13 -0000 Hi, Alex Zbyslaw wrote: > Erich Dollansky wrote: > > Assuming I've understood your initial post correctly, then I do the > same, redirecting some dozen ad sites to a local web server. With a this is how I started. Then friends did the same. We exchanged the files. We added hosts files from the Internet. > dozen or so aliases I've never noticed any difference in performance, > but I suspect you have rather more than that :-) I could never quite be I also do not notice a difference. Especially news sites with all the ads are even faster as there is no waiting for the ads. > I'm pretty sure you could also do the same with a local DNS server, if This is what I am thinking of since some time but I never did. It would have the additional advantage of faster name resolution. Having a DNS on every machine seems like a real overkill to me. > There's no clean solutions to getting different lookups per-user that I The clen solution is hosts. > Unclean solutions might include something like making the hosts file This is something I would like to avoid. Erich