Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Google ads blocked
Actual Behaviour:
Google ads shown? Error message of "[✗] Failed to resolve doubleclick.com via a remote, public DNS server (2001:4860:4860::8888)" when verifying "Name resolution (IPv6) using a random blocked domain and a known ad-serving domain"
In case you are just worried about that specific failure, that is not an issue:
That would just indicate that your Pi-hole wasn't able to request DNS resolution through a public DNS resolver via IPv6.
In conjunction with your debug log's Network interfaces and addresses section, this would indicate that your network has link-local IPv6 connectivity only.
By itself, this has no bearing on Pi-hole's filtering operaton - forwarding to Pi-hole's upstreams only occurs after filtering, for allowed domains.
I just tried to remove 8.8.8.8 as a backup dns and it seems like it's the only one my pc is using because the pihole dns isn't working. When I made it the only dns for my pc, I got a message saying "Maximum number of concurrent DNS queries reached (max: 150)" in pihole tools. Any ideas why it might not be working?
Pi-hole can't block the sponsored ads on Google showing up in the search results. They are served from the same domain as the search results. However, if you click on such an ad link it should not open the page.
If you want to hide the ads you need a brower based adblocker.
That's a good idea - clients would by-pass Pi-hole via 8.8.8.8 otherwise.
Pi-hole has to be the sole DNS server for your clients.
Usually, that is caused by a DNS loop, where at least one of Pi-hole's upstreams would send DNS queries back to Pi-hole which again forwards them to the upstream, and so forth, forever or until time-out.
Less commonly, Pi-hole is flooded by an excessive amounts of DNS requests from particular clients desperate for resolving a domain.
It seems you are intending to use unbound as Pi-hole's upstream?
If so, you probably may be affected by both.
Your debug log shows you have configured your Pi-hole for a sole upstream at 127.0.0.1:
However, your debug log's Ports in use section shows there is no process listening on 127.0.0.1#5335.
That would also explain why Pi-hole is starving on forwards:
*** [ DIAGNOSING ]: Pi-hole log
-rw-r----- 1 pihole pihole 242K Apr 9 13:36 /var/log/pihole/pihole.log
-----head of pihole.log------
Apr 9 00:00:05 dnsmasq[257638]: query[HTTPS] iphone-ld.apple.com from 192.168.50.157
Apr 9 00:00:05 dnsmasq[257638]: forwarded iphone-ld.apple.com to 127.0.0.1#5335
Apr 9 00:00:05 dnsmasq[257638]: query[A] iphone-ld.apple.com from 192.168.50.157
Apr 9 00:00:05 dnsmasq[257638]: forwarded iphone-ld.apple.com to 127.0.0.1#5335
Apr 9 00:00:05 dnsmasq[257638]: query[SVCB] _dns.resolver.arpa from 192.168.50.157
Apr 9 00:00:05 dnsmasq[257638]: forwarded _dns.resolver.arpa to 127.0.0.1#5335
Apr 9 00:00:07 dnsmasq[257638]: query[A] iphone-ld.apple.com from 192.168.50.157
Apr 9 00:00:07 dnsmasq[257638]: forwarded iphone-ld.apple.com to 127.0.0.1#5335
Apr 9 00:00:07 dnsmasq[257638]: query[HTTPS] iphone-ld.apple.com from 192.168.50.157
Apr 9 00:00:07 dnsmasq[257638]: forwarded iphone-ld.apple.com to 127.0.0.1#5335
Apr 9 00:00:07 dnsmasq[257638]: query[SVCB] _dns.resolver.arpa from 192.168.50.157
Apr 9 00:00:07 dnsmasq[257638]: forwarded _dns.resolver.arpa to 127.0.0.1#5335
If you intend to use unbound as Pi-hole's upstream DNS server, you'd have to find out why it would not be running. In case you aren't already aware of it, you may also refer to our guide on unbound.
Try:
sudo service unbound restart
and verify by running:
dig dnssec.works @127.0.0.1 -p 5335
In the meantime, you may tick one of Pi-hole's public Upstream DNS Servers to allow forwards to succeed, in order to re-enable full DNS resolution for your clients.