Setup Email Server From Scratch On FreeBSD #2 - 80 Bind DNS

25 IMAPSYNC <- Intro -> 99 FreeBSD NAT64 Router

We believe in data independence, and support others who want data independence.
This tutorial is partially complete 2025-08-07

This is version 2 and everthing works up to and including Roundcube.

#######################################
# Setup Authoritative Bind DNS Server #
#######################################

pkg install bind920
rndc-confgen -a
wrote key file "/usr/local/etc/namedb/rndc.key"

cd /usr/local/etc/namedb
chown root:bind rndc.key
chmod 640 rndc.key

sysrc named_enable="YES"

service named start
service named status
named is running as pid 2154.

nano /usr/local/etc/namedb/named.conf
# ---
147.135.37.135
# ---

25 IMAPSYNC <- Intro -> 99 FreeBSD NAT64 Router