From e075b4954a9f87ed4e73144806bcca272f7cc7ce Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 27 Jan 2023 22:09:23 -0500 Subject: [PATCH] Update pihole-v5-install.sh free port 53 --- install/pihole-v5-install.sh | 3 +++ 1 file changed, 3 insertions(+) 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