1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-01-11 10:37:05 +00: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
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A

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