The challenge is to mitigate exposure to the advertisements spammed all over the internet with the same approach as fighting against virus and malware threats.
I recently upgrade my Pi-hole® to take on not only the task of blocking Internet advertisements, but malware, and adult sites.
Pi-hole makes it as easy as possible to download and get running with a one-line script that starts up a menu-based installer. Simply enter: curl -sSL https://install.pi-hole.net | bash
More on setup here
There was a fair amount of whitelisting that needed to be applied to allow some social media sites to work as desired. You will want to monitor what’s blocked to determine what you are willing to allow.
I started using the Pi-hole® to protect my mobile device from these threats by leveraging the same blocking I am using on my home network. This not only cuts back on the data use but also add layers of privacy and security protection to my device while on untrusted networks.
But what about my ISP who can see my upstream DNS requests. Well for that, we could trust them, or trust in a 3rd party who uses DNSSEC technology to protect your privacy. Use Google, Norton, DNS.WATCH or Quad9 DNS servers.
And with that you get some decent statistics about your network.