FreeBSD Install DJBDNS Server

www.laut‮‬turi.com
FreeBSD Install DJBDNS Server

To install the DJBDNS server on a FreeBSD system, you will need to do the following:

  1. Install the DJBDNS package using the pkg package manager:
# pkg install djbdns
  1. Create a user and group for the DJBDNS server to run as:
# pw groupadd dns
# pw useradd -n dns -g dns -s /sbin/nologin
  1. Create the directories for the DJBDNS server to store its data:
# mkdir -p /usr/local/djbdns/etc/
# mkdir -p /usr/local/djbdns/var/
# mkdir -p /usr/local/djbdns/root/
  1. Change the ownership of the directories to the dns user and group:
# chown -R dns:dns /usr/local/djbdns/
  1. Edit the DJBDNS configuration file, /usr/local/djbdns/etc/dnsroots.global, to specify the DNS root servers that the DJBDNS server should use. You can use the following format to specify the DNS root servers:
.=198.41.0.4
=198.41.0.4
=192.228.79.201
=192.33.4.12
=199.7.91.13
=192.203.230.10
=192.5.5.241
=192.112.36.4
=198.97.190.53
=192.36.148.17
=192.58.128.30
=193.0.14.
Created Time:2017-10-28 20:40:34  Author:lautturi