I think I've made this comment before, but I really wish people would learn more about technologies like pihole. Get the ad once, get the hyperlink, add it to blacklist.
I run a pihole as well, but it is a very rudimentary tool compared to browser based adblockers like uBlock origin. It can only block DNS queries, and can't for example block ads if they are served from the same domain as the main site (i.e. youtube) or block specific elements on a page or block a specific script from running.
can’t for example block ads if they are served from the same domain as the main site (i.e. youtube) or block specific elements on a page or block a specific script from running.
That's a very rare case, and you can whitelist a domain using the pihole's web interface. It may require extra two clicks, but I had to do that maybe twice in the last year.
Ironically, I wish people including yourself knew more about shit like how PiHole/RaspPi simply leverage Unbound, which is not unique to only Pi software or Pi devices. You can do this same thing on any OS that has it installed.
GUI and cli, however, has no where near the options pihole or adguardhome have; my limited experience is with it in opnsense, so by far isn't complete but I disable it and forward everything to adguardhome.
Only if used as primary DNS service for whole network, however, has no where near the options pihole or adguardhome have; my limited experience is with it in opnsense, so by far isn't complete but I disable it and forward everything to adguardhome.