Menu Close

Block Internet Ads and Trackers with Pi-hole

While various software such as browsers and security software try to prevent such user data extraction and targeted ads, pi-hole is freeware that is easy to set up on UNIX/Linux systems (supported systems) and protects small networks (e.g. home network) from trackers and targeted ads by serving as a DNS sinkhole server for the network being protected. It checks a list of blocked domains (known ads/trackers) and returns 0.0.0.0 when lookups are attempted for those domains, thereby speeding up website loading and preventing the establishment of network connections to the ad/tracker domains. Pi-hole uses a forked and modified version of dnsmasq for DNS (and DHCP) services.

 

Pi-Hole serving as your local DNS, returning false responses (0.0.0.0) for lookup requests for blocked domains and forwarding allowed lookup requests to upstream DNS servers such as OpenDNS.

 

I’ve been using Pi-hole on a Raspberry Pi 4 for the past 6 months and I like it. I do see fewer ads than before (tested before/after Pi-hole). The AdminLTE dashboard is very good and intuitive. Of course, the effectiveness of this solution depends on the “blocklist”. The blocklist is periodically updated and you may add your own domains to the blocklist via the GUI or the CLI (pihole command).

 

Pi-Hole’s AdminLTE Dashboard provides good insight into DNS queries from your clients with relevant metrics.

VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Print Friendly, PDF & Email
(Visited 60 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *