[SOLVED] PiHole (PVE) as ProxMox DHCP/DNS can not update/upgrade

Connor_99

New Member
Oct 14, 2024
1
0
1
Greetings to everyone,
I'm kinda new to ProxMox, but I'm struggling with an issue which i don't know if it is possibly or not.

I have my PVE node, hosted and set on the static IP x.x.x.100 configured by /etc/network/interfaces.
Then, I created a VM installing on it Pi-Hole, setted on x.x.x.102.

I setted PiHole as my DHCP instead of my WiFi, listed all the static IP I need, including
x.x.x.1 - Router
x.x.x.2 - Repeater
x.x.x.100 - PVE
x.x.x.102 - PiHole
and other devices.

Everything works fine with all devices, correctly assigned to all static IP, except for one thing.

I noticed that PVE was the only one not using PiHole.
Default setting of PVE were gateway x.x.x.1 and DNS x.x.x.1.

So I tried to change DNS to x.x.x.102, I checked that was correctly updated both from WEB interface and in /etc/resolv.conf, restarted PVE and now I can see the query of the PVE server from PiHole (I can not see it from the active DHCP static devices but that's ok(?) I guess(?)).

But the thing is that at the moment I can correctly ping 8.8.8.8, but if I launch an sudo apt update && sudo apt upgrade -y I get the following error, like if the DNS can not resolve update links. (You will see tailscale as well in the links, but it is not installed at the moment because it gave me some issue, one I resolve PVE/PiHole issue I'm planning to reinstall it and use PVE as Tailscale exit node)
1728944566661.png

With all other devices I can navigate and search everything.

If you need more info/print please just let me know.

Thank you in advance.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!