diff --git a/install/pihole-v5-install.sh b/install/pihole-v5-install.sh index e8776260..2133980b 100644 --- a/install/pihole-v5-install.sh +++ b/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 </etc/pihole/setupVars.conf PIHOLE_INTERFACE=eth0