how to create local dnsbl?

Corey S. McFadden csm-lists at CSMA.BIZ
Tue Apr 27 20:15:36 IST 2004


Jeff,

Here's some example stuff.  First, set up a zone in your named.conf:

zone "bl.domain.com" {
         type master;
         file "/var/named/bl.zone";
         };

I'll attach a sample zone file.  If you know a little about BIND you'll be
fine modifying it.  The main thing is that you're going to need to reverse
the IP addresses in the zone file to allow DNSBL-type queries.

If you need additional help, e-mail me off-list.

-Corey



At 03:01 PM 4/27/2004, you wrote:
>Gang,
>    I have googled and FAQ'ed everywhere I could think of
>for this one:  I need to set up a DNSBL (actually a whitelist
>in my case) using BIND 9.2.3.  Anybody have a how-to on how
>to do this?  Like example config code for my bind files?
>
>Jeff Earickson
>Colby College
>
>-------------------------- MailScanner list ----------------------
>To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
>For further info about MailScanner, please see the Most Asked
>Questions at    http://www.mailscanner.biz/maq/     and the archives
>at    http://www.jiscmail.ac.uk/lists/mailscanner.html
>
>*********************************************
>This message has been scanned for viruses and
>dangerous content, and is believed to be clean.

--
Corey S. McFadden
McFadden Associates, Technology Consultants
c at csma.biz - main +1.215.689.4984 - www.csma.biz


*********************************************
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at    http://www.mailscanner.biz/maq/     and the archives
at    http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------- next part --------------
$TTL 300
@       IN      SOA     bl.domain.com.    admin.domain.com.  (1083092587 600 300 86400 300)
        IN      NS      bl.domain.com.
        IN      NS      dns-server1.
$ORIGIN bl.domain.com.
                IN      A       0.0.0.0
2.0.0.127       IN      A       127.0.0.2
                IN      TXT     "Test entry"
4.48.92.99      300     IN      A       127.0.0.2
                        IN      TXT     "http://bl.csma.biz/cgi-bin/listing.cgi?ip=99.92.48.4"
86.101.96.99    300     IN      A       127.0.0.2
                        IN      TXT     "http://bl.csma.biz/cgi-bin/listing.cgi?ip=99.96.101.86"
127.12.98.99    300     IN      A       127.0.0.2
                        IN      TXT     "http://bl.csma.biz/cgi-bin/listing.cgi?ip=99.98.12.127"
195.246.98.99   300     IN      A       127.0.0.2
                        IN      TXT     "http://bl.csma.biz/cgi-bin/listing.cgi?ip=99.98.246.195"
81.246.98.99    300     IN      A       127.0.0.2
                        IN      TXT     "http://bl.csma.biz/cgi-bin/listing.cgi?ip=99.98.246.81"

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
For further info about MailScanner, please see the Most Asked
Questions at    http://www.mailscanner.biz/maq/     and the archives
at    http://www.jiscmail.ac.uk/lists/mailscanner.html


More information about the MailScanner mailing list