$Id: README,v 1.2 2014/07/22 10:55:41 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running rbldnsd-0.997ap0 on OpenBSD
+-----------------------------------------------------------------------

rbldnsd runs chrooted
=====================
By default, the rbldnsd package will chroot to /var/rbldnsd, and the
package will create two subdirectories underneath:

	/var/rbldnsd/             # rbldnsd chroot path
	/var/rbldnsd/etc/         # zonefiles
	/var/rbldnsd/var/         # scratch/work (-w) directory

Because of the chroot(), all paths given to rbldnsd are relative to
to the chroot path (/var/rbldnsd).  Thus, with this line in
/etc/rc.conf.local:

rbldnsd_flags=-b 127.0.0.1/53 rbl.invalid:ip4tset:/etc/rbl.invalid.zone

rbldnsd will load the "rbl.invalid" zone from 
/var/rbldnsd/etc/rbl.invalid.zone and do any processing in
/var/rbldnsd/var/

Note that rbldnsd will refuse to start if you do not supply the "-b"
option and an "IP address <forward slash> port number" argument for
binding, as shown above.

