From baa5d32dea6cc08964c40d7ef490b1f634a0eace Mon Sep 17 00:00:00 2001 From: David Duque Date: Sun, 17 May 2020 02:58:19 +0100 Subject: [PATCH] Make sure /etc/default/bind9 exists --- setup/system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/system.sh b/setup/system.sh index 4d1dd08e..cc8706b3 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -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