Pihole loses IP and needs to be rebooted every 24hours to regain the IP

Hi,

I'm not sure if this belongs here, or if I should reach out to proxmox community. But I thought I'd start here.

I recently installed a proxmox server, added a VE for Pihole. It works really great except once per day (24h after reboot) it loses it's IP and I can't find it on my network anymore. Thus it doesn't work to set the pihole as the network dns.

The proxmox VE instance keeps running, and through proxmox I can enter console and interact with it. As soon as I restart the instance, it regains its IP and starts working again. I could of course create a cron-job and restart it every 23 hours, but I'd prefer if I solved the underlying problem.

I have another proxmox instance for home assistant that continues to work, and the proxmox server itself never loses it's ip. That's why I'm thinking something is up with my pihole (or my configuration of the VE).

I ran pihole -d this morning before I rebooted it, but I couldn't upload the file because it didn't have internetconnectivity. And now I don't know how and where to share it.

My network setup is a basic unifi UDM pro. I use VLAN and keep this on my VLAN 2. All instances in the proxmox server runs on VLAN 2.

Does anyone know what might be at play here?

Thank you for your help

Here's my log from the time, I think this is from this morning or yesterday before I rebooted.
pihole_debug.zip (5.7 KB)

I can't help you with the the proxmox but if its happening every 24 hours it would seem to be related to dhcp. I would start there.

I agree with @CallMeCurious

This seems to indicate that your Pi-hole does not have a statically configured IP address. Please don't use automatic address negotiation (DHCP) on your Pi-hole. A point in your network as central as a DNS server truly deserves a permanent address configuration to ensure clients will always be able to reach it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.