A couple months ago I put together a Docker image for just this. It's based on dnsmasq and Steven Black's hosts list, and it automatically updates the list daily: https://github.com/schmich/purify
I run it on a cheap Digital Ocean machine, and my home router is setup to forward all DNS traffic to it. Any connected clients, phones included, automatically get the blocking capability.
I run it on a cheap Digital Ocean machine, and my home router is setup to forward all DNS traffic to it. Any connected clients, phones included, automatically get the blocking capability.