william 68a3e4d86b Update to rbldnsd-0.997a
- update MASTER_SITES
- regen patch
- setup chroot by default
- add rc script
- add README describing how to use it

help and feedback from sthen@ and ajacoutot@, thanks!

ok sthen
2013-10-15 01:18:00 +00:00
..

$Id: README,v 1.1 2013/10/15 01:18:01 william Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

rbldnsd runs chrooted
=====================
By default, the rbldnsd package will chroot to ${VARBASE}/rbldnsd, and the
package will create two subdirectories underneath:

	${VARBASE}/rbldnsd/             # rbldnsd chroot path
	${VARBASE}/rbldnsd/etc/         # zonefiles
	${VARBASE}/rbldnsd/var/         # scratch/work (-w) directory

Because of the chroot(), all paths given to rbldnsd are relative to
to the chroot path (${VARBASE}/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 
${VARBASE}/rbldnsd/etc/rbl.invalid.zone and do any processing in
${VARBASE}/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.