Network-wide ad blockers servers¶
Pi-hole DNS ad blocker¶
Pi-hole is a network-wide ad blocker that acts as a DNS (Domain Name System) sinkhole. It works by blocking requests to known ad servers, trackers, and malicious websites across all devices connected to your home network. Here’s how it works:
- DNS-Based Filtering: Pi-hole intercepts DNS requests from devices on your network. When a device tries to connect to a website, Pi-hole checks if the website’s domain is on a blocklist. If it is, Pi-hole prevents the connection from being made, effectively blocking ads, trackers, and potentially harmful sites.
- Customizable Blocklists: Pi-hole allows you to choose from a variety of community-maintained blocklists or even add your own. These blocklists contain domains known to serve ads, trackers, and other unwanted content.
- Device and Network-Level Protection: Once set up, Pi-hole works across your entire network. This means all devices (smartphones, tablets, computers, smart TVs, etc.) that use your Pi-hole as their DNS server automatically benefit from ad-blocking without needing individual apps or browser extensions.
- Web Interface: Pi-hole offers an intuitive web interface where you can monitor statistics, review blocked domains, and tweak settings like adding custom blocklists or whitelisting certain sites.
- Privacy and Speed: By blocking unwanted content at the DNS level, Pi-hole not only improves browsing speed (since ads are not loaded), but also enhances privacy by preventing tracking scripts from running in the background.
Pi-hole is typically installed on a Armbian minimal, but it can also run on other systems. It’s a great way to have ad-blocking and privacy protection across your entire network without needing to install anything on individual devices.
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
The web interface of Pi-hole can be accessed via:
- URL =
http://<your.IP>/admin
- Password is set and adjust from
armbian-config
Pi-hole remove¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
Pi-hole change web admin password¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
Pi-hole purge with data folder¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
Unbound caching DNS resolver¶
Unbound is a high-performance, open-source DNS resolver. It primarily serves to resolve domain names into IP addresses for devices on a network. Unlike regular DNS servers, Unbound performs DNS lookups directly and securely, providing features like DNSSEC validation (ensuring data integrity) and privacy protections. It’s often used to improve speed, security, and privacy by resolving queries locally rather than relying on external DNS services.
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
- Default DNS port: 53
- Install directory:
/armbian/unbound/
- Configuration directory:
/armbian/unbound/
Bash | |
---|---|
Unbound remove¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
Unbound purge with data folder¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
AdGuardHome DNS sinkhole¶
AdGuard Home is a network-wide software that functions as a DNS server and ad blocker. It blocks ads, trackers, and malicious websites at the DNS level, meaning it filters content for all devices connected to the network. It also provides additional features like parental controls, logging, and privacy protections. Essentially, it acts as a gateway between your devices and the internet, blocking unwanted content before it even reaches your devices.
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
The web interface is accessible via port 3000:
- URL:
https://<your.IP>:3000
- Username/Password: admin / generate at first web interface login
- Install directory:
/armbian/adguardhome/
- Configuration directory:
/armbian/adguardhome/confdir
- Work directory:
/armbian/adguardhome/workdir
- server where you are installing is automatically switched to this DNS
- on your desktop PC set IP address of this server as DNS
- network wide: set IP address of this server on routers DNS
There are many sites in the web giving blocklists and whitelists for AdGuard Home. They can be used when you want to have more blocking as the standard installation gives you. Here are some examples:
Bash | |
---|---|
AdGuardHome remove¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable
AdGuardHome purge with data folder¶
Command:
Text Only | |
---|---|
Author: @armbian
Status: Stable