Explorar o código

Update pihole-v5-install.sh

free port 53
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
e075b4954a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      install/pihole-v5-install.sh

+ 3 - 0
install/pihole-v5-install.sh

@@ -93,6 +93,9 @@ $STD apt-get install -y ntp
 msg_ok "Installed Dependencies"
 
 msg_info "Installing Pi-hole"
+systemctl stop systemd-resolved
+echo "DNSStubListener=no" >>/etc/systemd/resolved.conf
+ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
 mkdir -p /etc/pihole/
 cat <<EOF >/etc/pihole/setupVars.conf
 PIHOLE_INTERFACE=eth0