this post was submitted on 15 Jun 2024
21 points (88.9% liked)

Linux

5242 readers
97 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS
 

Pi-Hole and similar DNS adblockers just seem like a hassle. I can't tell my parents to buy a raspi, flash it, install and configure pi-hole, configure their routers or devices to point to the raspi, and do all of that from another city. Also personally, there's no time for that in my house.

Is there a program or systemd service I can run that pulls blocklists from somewhere (git, http, ...) and updates /etc/hosts? Before I go off and write a python script, systemd unit file, and shell script to install it on the linux systems of friends of family, does this exist?

Resolution comment: Tblock

you are viewing a single comment's thread
view the rest of the comments
[–] infeeeee@lemm.ee 5 points 5 months ago

Ublock Origin is not an option? It automatically updates blocklists, and can block ads served from the same domain as content, where hosts based blockers can't help.

Afaik dns based blockers like pihole are useful for locked down systems (iphones, smart tvs, consoles, not rooted android phones) where you don't have access to other ways of blocking ads.