I just set up Pi-hole (on a laptop running Ubuntu) with my Netgear R7000 running DD-WRT. The DD-WRT settings have the local DNS pointed to the Pi-hole's IP. I also have PiHole set up as the DHCP server and the router is set up as a 'DHCP Forwarder' which forwards to the Pi-hole's IP.
It seems to be working great on pretty much all my devices except my desktop computer which is running Pop! OS (Ubuntu). I verified this by looking at the same page on the desktop and on Google Pixel and of course, it contained ads on my desktop but no ads displayed on the Pixel. I also verified this by checking the query log: pihole is actively blocking queries on all devices but no queries are logged for the desktop. It seems somehow my desktop computer is getting DNS queries resolved elsewhere but I don't know how/why this is happening. It might also be worthy to note that I've been getting intermittent DNS errors and network change errors on this device and not on others and that IPv6 is disabled on the router and the desktop.
I assumed as much but I don't know why because in the network settings DNS is set to the Pihole's IP (see below). What other setting do I need to change?
That did the trick! I had windscribe VPN installed. Although it was not running, I noticed there was an extra nameserver entry in the resolv.conf file which I guess the system then uses instead of the pihole even when the VPN isn't running. After removing the VPN, I'm now seeing queries from my desktop and no longer seeing ads. Thanks for your help!!