config/named
Adrian 694e6bf290 Add mail setup and named configuration 2020-04-17 01:03:31 +02:00
..
README.md Add mail setup and named configuration 2020-04-17 01:03:31 +02:00
badlist-active.zone Add mail setup and named configuration 2020-04-17 01:03:31 +02:00
badlist-inactive.zone Add mail setup and named configuration 2020-04-17 01:03:31 +02:00
options.conf Add mail setup and named configuration 2020-04-17 01:03:31 +02:00
zones.conf Add mail setup and named configuration 2020-04-17 01:03:31 +02:00

README.md

Named

Install Software

sudo apt install bind9

Apply Configuration

sudo mkdir /data/named
sudo cp *.conf *.zone /data/named

sudo sed -i '/directory/ a \\tinclude "/data/named/options.conf";' /etc/bind/named.conf.options
sudo sed -i '$ a include "/data/named/zones.conf";' /etc/bind/named.conf

echo '/data/named/** r,' | sudo tee -a /etc/apparmor.d/local/usr.sbin.named