Happy #FOSSFriday! Today, we're going to talk about another piece of software that I've used for a few years. Pi-hole. Pi-hole is a free and open-source DNS sinkhole that helps to block ads and trackers on your network. It works by intercepting DNS requests from your devices and redirecting them to a local server that has been configured to block ads. This can significantly improve the performance and privacy of your network. Pi-hole is a software application that can be installed on a Raspberry Pi or other compatible device. You can even install it via certain "node" OS platforms like Umbrel. It is very easy to set up and use, and there are many tutorials available online. To use Pi-hole, you will need to configure your devices to use it as their DNS server. This can be done on most devices by going to the network settings and changing the DNS server to the IP address of your Pi-hole device or by simply configuring your router's LAN's DHCP settings to use the Pi-Hole.

Replies (24)

These Friday bonus content are very helpful. I’m new to all of this and your making us aware of better options and tools out there to help us.
Don’t forget pihole combined with Tailscale magic DNS to get blocking on the go! I also recommend installing unbound during the pihole installation to make your server also handle the DNS resolution. Easy, better privacy, I never noticed a performance drop.
The internet makes it seem like some VPN providers may allow you to specify your own local DNS resolution. Otherwise you might be stuck with alternative solutions. If you’re willing to run a VPS server and use it like a VPN you can do achieve similar outcomes using Tailscale and pihole together. View quoted note →
it's not easy to do or not easily supported as by default a VPN provider has you using their DNS servers for requests. some VPN providers come with these types of services built in to block trackers and ads though.
I should have said Tailscale “nameservers” not MagicDNS. Setting a Tailscale nameserver lets you route the DNS requests back home without routing all data through your home network.
Default avatar
nobody 2 years ago
But I otherwise have the same setup: pihole, unbound, VPN is the mobile on the go powerhouse set up.
Default avatar
nobody 2 years ago
You bet man! Wireguard can run in kernelspace which will be faster than Tailscale which runs userspace wireguard. Worth it for me because I have cloud instances connecting to home for things and need the speed. If you're just doing normal browsing you likely wouldn't notice.
You can, but you would want to be careful. If using a VPN client on a client device (PC / Phone), this would leak DNS queries and make analysis far easier to conduct. Alternatively, you could configure your router so that all egress traffic traverses the VPN. This would mean that DNS queries to external resolvers would also go out over the VPN link!