Pihole + wireguard DNS not responding

The issue I am facing:
when my DNS is set to pihole, it doesn't resolve DNS requests. I'm quite new to all this and have tried following several tutorials and other suggestions from this discourse and the pihole documentation but not to much luck.

Details about my system:
I'm using wireguard, without a docker on a raspberry pi 4

What I have changed since installing Pi-hole:
I followed the pihole docs to setup wireguard

Let me know if there's any more information that would be helpful

That doesn't seem to be the case.

Instead, it would seem you have been using some third-party tools that conflict with Pi-hole's configuration, by restricting it to consider only your wireguard interface:

*** [ DIAGNOSING ]: contents of /etc/dnsmasq.d

-rw-r--r-- 1 root root 52 Sep 22 17:14 /etc/dnsmasq.d/02-pivpn.conf
*** [ DIAGNOSING ]: Networking
[✓] IPv4 address(es) bound to the wg0 interface:

[✓] IPv6 address(es) bound to the wg0 interface:
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✗] Failed to resolve www.d3h3emqn8ms7rt.cloudfront.net on eth0 (
[✓] www.d3h3emqn8ms7rt.cloudfront.net is on wg0 (

Revisit your third-party tool documentation for support and information on the intended effect of that 02-pivpn.conf.

Meanwhile, to get Pi-hole working, remove that conflicting interface line.
Then run

pihole restartdns

That worked :+1: I have no idea where that setting came from. Thank you so much