DNS blocklist in BIND?

Eivind Olsen eivind at aminor.no
Sun Nov 3 13:13:09 UTC 2002


--On 2. november 2002 11:32 -0500 William Stacey <staceyw at mvps.org> wrote:

> BIND has a blocklist-zone?  I could not find info that.  Which version and
> chapter?  TIA

If we are still talking about DNS-based blocklists to be used by 
mailservers etc... No, BIND doesn't _have_ a blocklist-zone. You'll have to 
make a normal zone that you use as the blocklist. For example, I can make a 
zone called "dnsbl.aminor.no", and in that zone I can keep the IP-addresses 
I want to block. If I for example want to put from 192.168.0.1 in the 
blocklist the zonefile can look like for example this:

[...SOA record, NS records etc. like a normal zone...]
1.0.168.192.dnsbl.aminor.no.    A   127.0.0.1
1.0.168.192.dnsbl.aminor.no.    TXT "Some textual description..."

-- 
Eivind Olsen
eivind at aminor.no



More information about the bind-users mailing list