Quellcode durchsuchen

disabled MulticastDNS and LLMNR on interface level

Toastie vor 1 Jahr
Ursprung
Commit
4851d26416
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      bootstrap-bookworm.sh

+ 2 - 2
bootstrap-bookworm.sh

@@ -190,6 +190,8 @@ Gateway=$netGateway
 Broadcast=$netBroadcast
 DNS=$netDNS1
 DNS=$netDNS2
+LLMNR=no
+MulticastDNS=no
 NTP=$netNTP
 EOL
 fi
@@ -199,8 +201,6 @@ fi
 #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