Settng up a blacklist
/dev/rob0
rob0 at gmx.co.uk
Tue May 18 03:35:25 UTC 2004
On Monday 17 May 2004 22:17, I wrote:
> http://groups.google.com/groups?selm=bv6hol%243tk%241%40sf1.isc.org&output=gplain
> Look at the whole thread. In it I tell you how I do just that.
I didn't seem to give my null.zone and named.blacklist files therein,
so there they are, for all future Googlers:
$ cat /var/named/null.zone
; Originally for use with the list of ad server hostnames at:
; http://pgl.yoyo.org/adservers/
; - pgl at yoyo.org
$TTL 86400 ; one day
@ IN SOA ns.company.lan. hostmaster.company.com. (
2004021100 ; serial number YYMMDDNN
28800 ; refresh 8 hours
7200 ; retry 2 hours
864000 ; expire 10 days
86400 ) ; min ttl 1 day
NS ns.company.lan.
A 192.168.32.1
TXT "This domain has been blocked by company.com"
* IN A 192.168.32.1
TXT "This domain has been blocked by company.com"
$ cat /etc/named.blacklist
zone "gator.com" { type master; notify no; file "null.zone"; };
zone "date-manager.com" { type master; notify no; file "null.zone"; };
zone "gatoradvertisinginformationnetwork.com" { type master; notify no; file "null.zone"; };
zone "feedbackresearch.com" { type master; notify no; file "null.zone"; };
zone "bonzibuddy.com" { type master; notify no; file "null.zone"; };
zone "webshots.com" { type master; notify no; file "null.zone"; };
zone "whenu.com" { type master; notify no; file "null.zone"; };
zone "plaxo.com" { type master; notify no; file "null.zone"; };
zone "microsoft.com" { type master; notify no; file "null.zone"; };
As you can see, our focus is on blocking spyware domains. ;) Enjoy.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
More information about the bind-users
mailing list