Would you consider taking a look at what's happening with /etc/dnsmasq.d/01-pihole.conf when pihole is updated (like today from 4.3.2 to 4.4) or changed otherwise.
I'm referring to this post: And then, all of a sudden, yesterday at 11:38, PiHole stopped servicing
and to the answer I've stumbled upon where someone indicates something about interface=eth0 and interface=tun0 or interface=wg0
In my case interface=eth0 had disappeared out of the config file.
I could check it from a backup I made before.
Same applies to /etc/pihole/setupVars.conf
I have found this because lately I check the correct working of pihole through DNSbench which shows me if pihole is up and running correctly.
Thank for your swift response Dan.
Fact of the matter is that these files were changed and that's why I needed to edit those to get pihole working properly again.
Pihole itself claims to be working 100% from what the admin console tells me, but DNSbench tells me otherwise.
And yes I'm using pivpn with wireguard.
Here are both my configs.
setupVars.conf
Also do you have any other files in /etc/dnsmasq.d like an 02-pivpn.conf file with entries that override Pi-hole?
Edit: 01-pihole.conf
interface=wg0
interface=eth0
This isn't something Pi-hole set, if the file was edited manually then I suggest not doing that. The file header instructs that it will be overwritten.
OK, I'll test.
Thank you for the tip.
The 02-pivpn.conf was used with openVPN according to Marc Stan's instructions: /blog/2017/06/pivpn-and-pi-hole/
The Wireguard setup needs no tweaking, the contensts of /etc/dnsmasq.d/02-pivpn.conf are:
If I remember correctly the 01-pihole.conf had interface=wg0 inside after the update from 4.3.2 to 4.4 and not interface=eth0, I added the latter.
Now I deleted the interface=wg0 from the 01-pihole.conf and it's running and working as expected.