Pi-hole running on R-Pi 5, acting as both DNS server & DHCP server on my network (home/office setup).
It's been running fine since I set it all up. Raspberry Pi has been up for almost 4 days (3 days, 17:01).
Then, suddenly this morning, all my local browser instances start telling me I'm not connect.
Some quick attempts to dig keep returning REFUSED.
The Pi-hole is at 192.168.1.3 with the gateway set to 192.168.1.1. Both of these addresses are running a DHCP server and both appear to have the same hostnames and settings. I'm not sure if these are two devices or a single device with some wider config than the log shows.
The error log is warning that the chosen DHCP hostname for the lease of the Pi-hole at .3 is in conflict with the already configured hostname for the Pi-hole.
Since the lease time is 24 hours I suspect it's working if one DHCP server responds and breaks if the other responds. How exactly is this all set up? Is the Pi-hole trying to be a DHCP client of itself? There should just be a single DHCP server.
Interesting.
I missed that.
As you might expect, 192.168.1.1 is the address of my main router. The 192.168.1.3 is the address of the Pi-Hole.
I have turned off both DNS & DHCP on my router, and pointed both to the Pi-Hole address. At least I thought I had. Checking that now...