Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-08-20 11:36:59 +02:00 committed by GitHub
parent 2d58d467c5
commit a88c9e77f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1198,7 +1198,11 @@ setup_bind(){
echo ""
mkdir -p /etc/bind/
cp -r /etc/openpanel/bind9/* /etc/bind/
echo " DNSStubListener=no" >> /etc/systemd/resolved.conf && systemctl restart systemd-resolved
# 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
fi
}
send_install_log(){