Install djbdns on FreeBSD

Matt Simerson edited this page Jun 18, 2014 · 8 revisions

Install from packages

pkg install -y djbdns rsync

Install from Ports

portsnap fetch update || portsnap extract
make -C /usr/ports/dns/djbdns install clean
make -C /usr/ports/net/rsync install clean

Installing djbdns will also automatically install ucspi-tcp and daemontools.

Enable svscan

echo "svscan_enable=YES" >> /etc/rc.conf
mkdir /var/service
ln -s /var/service /service
service svscan start

Next

Export-to-tinydns

Additional config information

http://www.tnpi.net/internet/dns/djbdns-freebsd.shtml