Unfortunately this is a question that comes up very often in the Pi-Hole community where the answer is always: no, a Pi-Hole cannot block YouTube ads.
This is because a pihole blocks at the DNS level and YouTube serves their ads from the YouTube.com domain. Block that and you lose full access to the site.
They recommend running either uBlock Origin alongside it and/or use apps such as newpipe for android and freetube for desktop.
That said, I will always recommend setting up a Pi-Hole if you’re able to as the benefits of blocking trackers and ads from the entire network (which includes your cellphones, smart TVs, printers, IP cameras, etcetera) is definitely a good thing. Once set up it is 99% a “set it and forget it” kind of setup.
Unfortunately this is a question that comes up very often in the Pi-Hole community where the answer is always: no, a Pi-Hole cannot block YouTube ads.
This is because a pihole blocks at the DNS level and YouTube serves their ads from the YouTube.com domain. Block that and you lose full access to the site.
They recommend running either uBlock Origin alongside it and/or use apps such as newpipe for android and freetube for desktop.
That said, I will always recommend setting up a Pi-Hole if you’re able to as the benefits of blocking trackers and ads from the entire network (which includes your cellphones, smart TVs, printers, IP cameras, etcetera) is definitely a good thing. Once set up it is 99% a “set it and forget it” kind of setup.