FreeBSD 12 install BIND 914

root@ns1:/usr/local/etc # pkg install bind914
Updating FreeBSD repository catalogue…
FreeBSD repository is up to date.
All repositories are up to date.
The following 15 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
bind914: 9.14.9
libxml2: 2.9.10
libidn2: 2.3.0_1
indexinfo: 0.3.1
libunistring: 0.9.10_1
bind-tools: 9.14.9
python37: 3.7.6
readline: 8.0.1
libffi: 3.2.1_3
gettext-runtime: 0.20.1
py37-ply: 3.11
py37-setuptools: 41.4.0_1
libedit: 3.1.20191211,1
json-c: 0.13.1_1
lmdb: 0.9.24_1,1

Number of packages to be installed: 15

The process will require 181 MiB more space.
26 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/15] Fetching bind914-9.14.9.txz: 100% 4 MiB 23.2kB/s 02:57
[2/15] Fetching libxml2-2.9.10.txz: 100% 821 KiB 32.3kB/s 00:26
[3/15] Fetching libidn2-2.3.0_1.txz: 100% 110 KiB 37.5kB/s 00:03
[4/15] Fetching indexinfo-0.3.1.txz: 100% 6 KiB 6.2kB/s 00:01
[5/15] Fetching libunistring-0.9.10_1.txz: 100% 521 KiB 12.4kB/s 00:43
[6/15] Fetching bind-tools-9.14.9.txz: 100% 4 MiB 26.4kB/s 02:20
[7/15] Fetching python37-3.7.6.txz: 100% 16 MiB 27.6kB/s 10:03
[8/15] Fetching readline-8.0.1.txz: 100% 345 KiB 32.1kB/s 00:11
[9/15] Fetching libffi-3.2.1_3.txz: 100% 34 KiB 35.3kB/s 00:01
[10/15] Fetching gettext-runtime-0.20.1.txz: 100% 160 KiB 23.4kB/s 00:07
[11/15] Fetching py37-ply-3.11.txz: 100% 128 KiB 26.3kB/s 00:05
[12/15] Fetching py37-setuptools-41.4.0_1.txz: 100% 504 KiB 24.6kB/s 00:21
[13/15] Fetching libedit-3.1.20191211,1.txz: 100% 132 KiB 12.3kB/s 00:11
[14/15] Fetching json-c-0.13.1_1.txz: 100% 58 KiB 19.8kB/s 00:03
[15/15] Fetching lmdb-0.9.24_1,1.txz: 100% 104 KiB 26.7kB/s 00:04
Checking integrity… done (0 conflicting)
[1/15] Installing indexinfo-0.3.1…
[1/15] Extracting indexinfo-0.3.1: 100%
[2/15] Installing readline-8.0.1…
[2/15] Extracting readline-8.0.1: 100%
[3/15] Installing libffi-3.2.1_3…
[3/15] Extracting libffi-3.2.1_3: 100%
[4/15] Installing gettext-runtime-0.20.1…
[4/15] Extracting gettext-runtime-0.20.1: 100%
[5/15] Installing python37-3.7.6…
[5/15] Extracting python37-3.7.6: 100%
[6/15] Installing libunistring-0.9.10_1…
[6/15] Extracting libunistring-0.9.10_1: 100%
[7/15] Installing py37-setuptools-41.4.0_1…
[7/15] Extracting py37-setuptools-41.4.0_1: 100%
[8/15] Installing libxml2-2.9.10…
[8/15] Extracting libxml2-2.9.10: 100%
[9/15] Installing libidn2-2.3.0_1…
[9/15] Extracting libidn2-2.3.0_1: 100%
[10/15] Installing py37-ply-3.11…
[10/15] Extracting py37-ply-3.11: 100%
[11/15] Installing libedit-3.1.20191211,1…
[11/15] Extracting libedit-3.1.20191211,1: 100%
[12/15] Installing json-c-0.13.1_1…
[12/15] Extracting json-c-0.13.1_1: 100%
[13/15] Installing bind-tools-9.14.9…
[13/15] Extracting bind-tools-9.14.9: 100%
[14/15] Installing lmdb-0.9.24_1,1…
[14/15] Extracting lmdb-0.9.24_1,1: 100%
[15/15] Installing bind914-9.14.9…
[15/15] Extracting bind914-9.14.9: 100%
=====
Message from python37-3.7.6:


Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm databases/py-gdbm@py37
py37-sqlite3 databases/py-sqlite3@py37
py37-tkinter x11-toolkits/py-tkinter@py37
=====
Message from bind914-9.14.9:


BIND requires configuration of rndc, including a “secret”
key. The easiest, and most secure way to configure rndc is
to run ‘rndc-confgen -a’ to generate the proper conf file,
with a new random key, and appropriate file permissions.

The /usr/local/etc/rc.d/named script will do that for you.

If using syslog to log the BIND9 activity, and using a
chroot’ed installation, you will need to tell syslog to install
a log socket in the BIND9 chroot by running:

# sysrc altlog_proglist+=named

And then restarting syslogd with: service syslogd restart
root@ns1:/usr/local/etc #