I decided to give the Raspberry Pi Hole a try. For those no familiar with the Pi Hole software it acts as a DNS server. The magic of it is that you can configure it to block sites. The default list that you load on it does a really good job of blocking ads. I'll give a more detailed description of how it works below. It sped up page load times a lot for ad heavy sites such as Gateway Pundit.
For about $50 you can set one up to block ads on your entire network. This comes in really handy for devices where you cannot load ad blocking software like a smart TVs, media players, book readers etc.
You will need a Pi Zero and a micro SD card for a home network. I would recommend at least an 8 GB to be safe but they are cheap.
Follow this guy's step-by-step instructions.
To set this up for a network you will have to know how to use your router's settings. Some routers do not allow the DNS server to be changed such as many free routers from ISPs. In that case you would have to buy a new router that is configurable in order to set up a Pi Hole that protects an entire network. I would recommend experimenting with one on your desktop first before setting it up for your entire network.
Simplified explanation of how ads are blocked with a DNS server: The Internet works using IP addresses. A DNS (Domain Name System) server works by allowing the use of a URL instead of an IP address. When you type in calguns.net your browser will go to a DNS server and request the IP address which returns 52.10.121.9. A lot of pages will load assets from other sites such as images, content and advertisements. An ad can be blocked by simply not loading it when a site tells your browser to load it. Instead of going to doubleclick.com a DNS server like a Pi Hole would just not send the request at all. It will send the browser to an IP address with nothing such as 127.0.0.1 or even send a custom image or text saying the ad was blocked.
For about $50 you can set one up to block ads on your entire network. This comes in really handy for devices where you cannot load ad blocking software like a smart TVs, media players, book readers etc.
You will need a Pi Zero and a micro SD card for a home network. I would recommend at least an 8 GB to be safe but they are cheap.
Follow this guy's step-by-step instructions.
To set this up for a network you will have to know how to use your router's settings. Some routers do not allow the DNS server to be changed such as many free routers from ISPs. In that case you would have to buy a new router that is configurable in order to set up a Pi Hole that protects an entire network. I would recommend experimenting with one on your desktop first before setting it up for your entire network.
Simplified explanation of how ads are blocked with a DNS server: The Internet works using IP addresses. A DNS (Domain Name System) server works by allowing the use of a URL instead of an IP address. When you type in calguns.net your browser will go to a DNS server and request the IP address which returns 52.10.121.9. A lot of pages will load assets from other sites such as images, content and advertisements. An ad can be blocked by simply not loading it when a site tells your browser to load it. Instead of going to doubleclick.com a DNS server like a Pi Hole would just not send the request at all. It will send the browser to an IP address with nothing such as 127.0.0.1 or even send a custom image or text saying the ad was blocked.


Comment