diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-15 01:26:50 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-03-15 01:26:50 +0000 |
commit | 1523a035466e0c7d84367278dc24814e9f3d59c2 (patch) | |
tree | eacb405220acd23291c06294016451dfb79542b1 | |
parent | Add SpamAssassin shortcut scores (diff) | |
download | config-1523a035466e0c7d84367278dc24814e9f3d59c2.tar.bz2 config-1523a035466e0c7d84367278dc24814e9f3d59c2.tar.xz config-1523a035466e0c7d84367278dc24814e9f3d59c2.zip |
Add direct forwarding for spam list DNS zones
-rw-r--r-- | etc/dns/backup.conf | 9 | ||||
-rw-r--r-- | etc/dns/primary.conf | 12 |
2 files changed, 17 insertions, 4 deletions
diff --git a/etc/dns/backup.conf b/etc/dns/backup.conf index 87a02a9..5ffb013 100644 --- a/etc/dns/backup.conf +++ b/etc/dns/backup.conf @@ -85,6 +85,15 @@ view "internal" in { file "/var/bind/root.cache"; }; + zone "all.spamrats.com" { type forward; forward first; forwarders {}; }; + zone "black.uribl.com" { type forward; forward first; forwarders {}; }; + zone "grey.uribl.com" { type forward; forward first; forwarders {}; }; + zone "list.dnswl.org" { type forward; forward first; forwarders {}; }; + zone "multi.surbl.org" { type forward; forward first; forwarders {}; }; + zone "multi.uribl.com" { type forward; forward first; forwarders {}; }; + zone "zen.spamhaus.org" { type forward; forward first; forwarders {}; }; + zone "dbl.spamhaus.org" { type forward; forward first; forwarders {}; }; + zone "localhost" IN { type master; file "pri/localhost.zone"; diff --git a/etc/dns/primary.conf b/etc/dns/primary.conf index 7dc35ad..ce9f71d 100644 --- a/etc/dns/primary.conf +++ b/etc/dns/primary.conf @@ -85,10 +85,14 @@ view "internal" in { file "/var/bind/root.cache"; }; - zone "list.dnswl.org" in { - type forward; - forwarders { }; - }; + zone "all.spamrats.com" { type forward; forward first; forwarders {}; }; + zone "black.uribl.com" { type forward; forward first; forwarders {}; }; + zone "grey.uribl.com" { type forward; forward first; forwarders {}; }; + zone "list.dnswl.org" { type forward; forward first; forwarders {}; }; + zone "multi.surbl.org" { type forward; forward first; forwarders {}; }; + zone "multi.uribl.com" { type forward; forward first; forwarders {}; }; + zone "zen.spamhaus.org" { type forward; forward first; forwarders {}; }; + zone "dbl.spamhaus.org" { type forward; forward first; forwarders {}; }; zone "localhost" IN { type master; |