[rbldnsd] newbie help

Michael Tokarev rbldnsd@corpit.ru
Thu, 28 Aug 2003 13:40:20 +0400


Alex Broens wrote:
> At 23:02 25.08.2003 Alex Broens  wrote:
> 
>>At 21:54 25.08.2003 Michael Tokarev  wrote:
>>
>>>into this file.  And tell your local nameserver that spews.bl.example.com's
>>>nameserver is 127.0.0.2, by creating appropriate NS records in example.com
>>>zone. 
> 
> Seems I haven't go this part quite right yet. my RBL doesn't seem to be "blocking" any mail  .-)
> 
> Could you post an exaple of what this zone should look like.

You understand how DNS works, right?  You understand how to delegate
a subzone of your zone to another nameserver, right?

In example.com zonefile:

   blns      A 127.0.0.2
   spews.bl  NS blns
   other.bl  NS blns

Or just

   blns    A 127.0.0.2
   bl      NS blns

For caching BIND nameserver, one may use forward zone
declaration in named.conf:

zone "bl.example.com" { type forward; forwarders { 127.0.0.2; }; };

/mjt