Browse Source

commented out systemd-resolved

systemd-resolved is not standard in Debian
Toastie 1 year ago
parent
commit
5fbb099da2
1 changed files with 8 additions and 7 deletions
  1. 8 7
      bootstrap-bookworm.sh

+ 8 - 7
bootstrap-bookworm.sh

@@ -194,13 +194,14 @@ NTP=$netNTP
 EOL
 fi
 
-# Setup systemd resolver
-rm /etc/resolv.conf
-ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
-systemctl enable systemd-networkd
-# to be checked why port 5353 is opened externally
-sed -i 's/#LLMNR=yes/LLMNR=no/' /etc/systemd/resolved.conf
-systemctl enable systemd-resolved
+## Setup systemd resolver
+#apt-get install --yes systemd-resolved
+#rm /etc/resolv.conf
+#ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
+#systemctl enable systemd-networkd
+## to be checked why port 5353 is opened externally
+#sed -i 's/#LLMNR=yes/LLMNR=no/' /etc/systemd/resolved.conf
+#systemctl enable systemd-resolved
 
 # Limit journald logging to 1 month, 1 GB in total and split files per week
 mkdir -p /etc/systemd/journald.conf.d/