Pi-hole. Works like a charm. Also does the same for every device in your house. Moreover, if you don't mind spending an additional $5 a month, set up your Pi-hole in a Digital Ocean droplet and you can blocks ads everywhere YOU happen to be, even on your mobile device.
I run one and it works very well, but I fear the rise of DoH and devices just bypassing your network's DNS settings to query the manufacturer's DNS servers. I think Google devices do this.
A sad world we live in when you have to fight the devices you paid for.