From 39861ea10289ea1d81f0dacce2a1a69abf4bf1cc Mon Sep 17 00:00:00 2001 From: AiutoPcAmico Date: Tue, 5 Dec 2023 23:12:23 +0100 Subject: [PATCH] added systemd-resolved install --- setup/system.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/system.sh b/setup/system.sh index eb3adc53..5ed96689 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -300,12 +300,13 @@ fi #NODOC # * The max-recursion-queries directive increases the maximum number of iterative queries. # If more queries than specified are sent, bind9 returns SERVFAIL. After flushing the cache during system checks, # we ran into the limit thus we are increasing it from 75 (default value) to 100. +apt_install systemd-resolved apt_install bind9 touch /etc/default/bind9 touch /etc/default/named tools/editconf.py /etc/default/named \ "OPTIONS=\"-u bind -4\"" - + if ! grep -q "listen-on " /etc/bind/named.conf.options; then # Add a listen-on directive if it doesn't exist inside the options block. sed -i "s/^}/\n\tlisten-on { 127.0.0.1; };\n}/" /etc/bind/named.conf.options