For system wide DNS blocking you only have two options: use a DNS server with blocking (either your own with something like a piHole our a public one) or use the hosts file.
Privacy
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
Mullvad VPN provides a variety of blocklists, including ads, trackers, malware, gambling, social media, and adult content.
many vpns support custom dns servers in their clients i use windscribe with next dns as custom dns
I host my own vpn from home, which keeps me behind my pihole(s) and able to access my private services without exposing them to WAN.
Also secures my mobile traffic from snooping/modifying while on public networks.
ControlD
I don't know a way to do it for a given system, at home you could plug a small computer to your router, like a raspberry or equivalent, set that as a dns, and run filtering on it.
run pihole (or something similar) locally behind that vpn