Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] spam and flash ads
- Date: Thu, 28 Dec 2006 11:08:17 +0100
- From: Godwin Stewart <godwin.stewart@example.com>
- Subject: Re: [tlug] spam and flash ads
- References: <45934413.1020601@example.com>
On Thu, 28 Dec 2006 13:12:03 +0900, Darren Cook <darren@example.com> wrote: > Alternatively is there a (really) easy way to block it at the network > level? Easiest solution: Add this to your /etc/hosts and restart Firefox: 0.0.0.0 speed.pointroll.com Harder solution but probably better in the long run: Set up BIND as a caching nameserver. In your named.conf, declare that you're the authoritative nameserver for all domains you want to block and point BIND to an empty zonefile. Something like this: Excerpts from /etc/named.conf: options { directory "/var/named"; pid-file "named.pid"; }; zone "advertising.com" IN { type master; file "db.blank"; allow-update { none; }; }; /var/named/db.blank looks like this: $TTL 3h @ IN SOA my.nameserver. my.email.address. ( 2 ; Serial number 3h ; Refresh after 3 hours 1h ; Retry after 1 hour 1d ; Expire after 1 day 3h ) ; Negative caching TTL of 3 hours @ IN NS my.nameserver. -- G. Stewart - godwin.stewart@example.com Let's call it an accidental feature. -- Larry WallAttachment: pgpXR3GVOILq5.pgp
Description: PGP signature
- References:
- [tlug] spam and flash ads
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] spam and flash ads
- Next by Date: Re: [tlug] spam and flash ads
- Previous by thread: Re: [tlug] spam and flash ads
- Next by thread: Re: [tlug] spam and flash ads
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links