From 1523a035466e0c7d84367278dc24814e9f3d59c2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 15 Mar 2024 01:26:50 +0000 Subject: Add direct forwarding for spam list DNS zones --- etc/dns/backup.conf | 9 +++++++++ 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; -- cgit v1.2.3