Date: Tue, 11 Dec 2007 23:28:29 +0800 From: Erich Dollansky <oceanare@pacific.net.sg> To: Nikos Vassiliadis <nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: performance impact of large /etc/hosts files Message-ID: <475EAC9D.1020902@pacific.net.sg> In-Reply-To: <200712111718.05876.nvass@teledomenet.gr> References: <475E0190.7030909@pacific.net.sg> <200712111718.05876.nvass@teledomenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Nikos Vassiliadis wrote: > On Tuesday 11 December 2007 05:18:40 Erich Dollansky wrote: >> >> I use hosts for filtering all unwanted content on my personal machine. > > That's not apparent. What are your filtering? all the sites I personally do not want to see. > and how do your filter using /etc/hosts? 127.0.0.1 BadHost.com > > I recall that before DNS(that's a long time ago) the mapping Yes, this was normal, a long time ago. > The only "filtering" I can imagine of, is using something like > 127.0.0.1 badhosts.com Yes. > But all you get is misinforming *your* resolver that Yes, this is what I want. Just the machine I am working on. No other machine should get any impact from this. > badhosts.com is on 127.0.0.1, that is, *you* cannot > connect to badhosts.com. Yes, this is what I want. > badhosts.com can connect to your machine just fine. Yes, if they would come through to it. > And I doubt that's what you want. This is really what I want. Just avoiding the traffic, the time and the optical disturbance caused by all those sites. I would even prefer a method as simple as hosts but linked even to my user account. Erich
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475EAC9D.1020902>