mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
72ae0ceb84
commit
2d58d467c5
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user