From 5bc89472513181441d3b248014f0f98121c347a1 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 22 Nov 2024 17:31:08 +0100 Subject: [PATCH] goodbye systemd-resolved, you may no longer mess around with my configuration files. --- installation/dns.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/installation/dns.sh b/installation/dns.sh index ea52517..d67b17f 100755 --- a/installation/dns.sh +++ b/installation/dns.sh @@ -3,6 +3,7 @@ sudo apt update sudo apt install -y bind9 bind9utils bind9-doc echo "nameserver 192.168.16.1" >/etc/resolv.conf +sudo chattr +i /etc/resolv.conf systemctl start named systemctl enable named