Open Collective
Open Collective
Loading
Version 2.4 released 🎉
Published on May 16, 2020 by billz

We're pleased to announce the general public release of Ad Blocking with this version. Big thanks to all of our testers who provided valuable feedback during the beta period. Details on this new feature are covered on our wiki.

Why Ad Blocking?

We've heard from many users who have asked about integrating popular DNS sinkhole projects like Pi-Hole with RaspAP. Both projects rely on a package called dnsmasq to respond to DNS queries and manage DHCP leases. For this reason, integration between them is problematic at best. Fortunately, dnsmasq makes it fairly easy to use blocklists of unwanted hosts and domains. The end goal is streamlining data delivery from the AP to connected clients by eliminating unwanted ads, trackers and other virtual garbage.

Blocklists are sourced from the notracking project on GitHub. This "list of lists" is gathered from multiple, actively maintained sources and automatically updated, cleaned, optimized and moderated on a daily basis. A complete list of sources is available here.

To enable ad blocking with DNS blacklists, simply respond with 'Y' or press [Enter] when prompted by the installer:

Install ad blocking and enable list management? [Y/n]

After the installer is done, you can access the Ad Blocking management page, shown below.

About blocklist policies

The notracking blocklists chosen for RaspAP adhere to these policies:

  • Should not break useful websites or apps
  • Blocks tracking servers
  • Blocks advertising servers
  • Blocks analytics servers
  • Blocks scam websites
  • Blocks malware servers
  • Blocks webminers
  • Blocks phishing servers