Skip to content
Matt Simerson edited this page Jul 4, 2017 · 9 revisions

Install on FreeBSD 11

knot v1

pkg install knot1
echo 'knot_config="/usr/local/etc/knot/knot.conf"' >> /etc/rc.conf
cp /usr/local/etc/knot/knot.sample.conf /usr/local/etc/knot/knot.conf

knot v2

pkg install knot2

Enable startup

sysrc knot_enable=YES

Configure

Knot v1

Within the zone { } section of the knot.conf file, include the knot.conf.nictool file, which is located in the Data Directory specified in the NS configuration.

$EDITOR /usr/local/etc/knot/knot.conf
zone {
  include "/var/db/knot/knot.conf.nictool";
}

Knot v2

Add this line to the top of knot.conf:

$EDITOR /usr/local/etc/knot/knot.conf
include: /home/knot/data/knot.conf.nictool

Be sure to set the ENV variable to NT_EXPORT_KNOT_VERSION=2 in your export process.

Start

service knot start

Clone this wiki locally