1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-06 16:07:22 +01:00

Make sure /etc/default/bind9 exists

This commit is contained in:
David Duque
2020-05-17 02:58:19 +01:00
parent 1513655bc4
commit baa5d32dea

View File

@@ -302,6 +302,7 @@ fi #NODOC
# * The listen-on directive in named.conf.options restricts `bind9` to
# binding to the loopback interface instead of all interfaces.
apt_install bind9
touch /etc/default/bind9
management/editconf.py /etc/default/bind9 \
"OPTIONS=\"-u bind -4\""
if ! grep -q "listen-on " /etc/bind/named.conf.options; then