D. J. Bernstein
Internet publication
djbdns

The rbldns-conf program

rbldns-conf sets up an IP-address-listing DNS service.

Interface

     rbldns-conf acct logacct D ip base

rbldns-conf creates a service directory D that runs rbldns. The name D must start with a slash and must not contain any special characters. Normally D is /etc/rbldns.

You can run the service under svscan by creating a symbolic link in the svscan directory:

     ln -s D /service
The service will start within five seconds, and will be restarted upon reboot. You can use svc to control the service.

rbldns-conf arranges for rbldns to chroot to D/root and to run under the uid and gid of acct. The name acct must not contain any special characters.

rbldns-conf creates D/root/Makefile to run rbldns-data upon request.

rbldns-conf arranges for rbldns to listen for UDP packets on port 53 of ip, and to send outgoing packets from ip.

rbldns-conf arranges for rbldns to answer queries under the base domain. The name base must not contain any special characters.

rbldns-conf creates an automatically rotated log directory in D/log/main. The logs are owned by logacct. The corresponding multilog processes run under the uid and gid of logacct. The name logacct must not contain any special characters.