Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-09-06 12:55:41 +02:00 committed by GitHub
parent f9e7af47b2
commit 6a6cad8d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1438,6 +1438,9 @@ setup_bind(){
# only on ubuntu systemd-resolved is installed
if [ -f /etc/os-release ] && grep -q "Ubuntu" /etc/os-release; then
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
# debian12 also!
elif [ -f /etc/os-release ] && grep -q "Debian" /etc/os-release; then
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
fi
echo "Generating rndc.key for DNS zone management."