Simple ad and trackers blocking with DNS

by Christian Fei @ 2019-08-26

57 words, 1 minute reading time

#post #tutorial #featured 


You can use your hosts file to redirect all traffic in a local black hole (namely

sudo vi /etc/hosts

Add the following lines (plus hosts you find out by yourself) to /etc/hosts and save it:

if you check the network tab in your browser, you will see something like this:



Leave a comment

Better web scraping with node.js My blogging stack in 2020 Run cypress integration tests with github actions workflow Simple telegram message with github actions Deploy eleventy site with github actions on aws s3 Simple ad and trackers blocking with dns Build for a slow connection Upgrade mongodb 3 to 4 on ubuntu Publishing org scoped npm packages with travis A story about npm publish / unpublish