mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 14:31:56 +00:00
Update pihole-v5-install.sh
free port 53
This commit is contained in:
parent
13ece7ef08
commit
e075b4954a
@ -93,6 +93,9 @@ $STD apt-get install -y ntp
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Pi-hole"
|
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/
|
mkdir -p /etc/pihole/
|
||||||
cat <<EOF >/etc/pihole/setupVars.conf
|
cat <<EOF >/etc/pihole/setupVars.conf
|
||||||
PIHOLE_INTERFACE=eth0
|
PIHOLE_INTERFACE=eth0
|
||||||
|
Loading…
Reference in New Issue
Block a user