As previously foreshadowed, BIND has been removed from the DragonFly base system. Instead, it’s installed from pkgsrc. Note that this includes tools like nslookup or host. Instructions after the jump.
Transition steps, taken from the next release’s notes:
# cd /usr/pksrc/net/bind96; # bmake all install clean
# pkg_radd bind96 # cp /usr/pkg/share/examples/rc.d/named9 /etc/rc.d/ # /etc/rc.d/named stop
edit /etc/rc.conf, and remove
named9_enable="YES" named_chrootdir="/etc/namedb" named_flags="-c named.conf" named_program="/usr/pkg/sbin/named" # chown -R named /etc/namedb # /etc/rc.d/named9 start
Test your setup with host, dig and so on. Check for a running named process with ps. Error messages should go to /var/log/messages.