Pi-hole works by giving clients non-routable addresses in response to DNS queries of known ad-serving domains. If the client (web browser, phone, smart device, etc) doesn’t let you set its DNS server (as many no longer do) and doesn’t obey DHCP, then you can’t feed them those addresses. You could block outbound DNS traffic from all clients except your Pi-hole, but in response some clients will just refuse to work entirely. And if they require DNSSEC (or DoT/DoH with a pinned certificate), there’s nothing you can do.
It’s not hard to get around PiHole. If enough adopt it, they’ll just use technical workarounds to make Pihole pretty useless.
Pihole already can’t block YouTube ads last I checked.
Yup because pi-hole is a domain-based blocker and youtube serves ads from their own domain
That’s ok.
I use revanced for YouTube on my Android phone.
I use Smarttube Next for YouTube on my Android TV.
It works wonderfully.
Pi-hole works by giving clients non-routable addresses in response to DNS queries of known ad-serving domains. If the client (web browser, phone, smart device, etc) doesn’t let you set its DNS server (as many no longer do) and doesn’t obey DHCP, then you can’t feed them those addresses. You could block outbound DNS traffic from all clients except your Pi-hole, but in response some clients will just refuse to work entirely. And if they require DNSSEC (or DoT/DoH with a pinned certificate), there’s nothing you can do.