![]() There are some more privacy focused ones out there. In this example I added the Quad9, Google & cloudflare DNS servers but of course you can select any other server too. The code is also open source (same as PiHole). It also looks much more modern and the settings are pretty simple. I found Adguard Home, tried it and it works great for me so far. While not a problem in itself both together pushed me to look for an alternative. I personally started by using PiHole but ran into some problems with stability. Which one should you use? There is a table with a feature comparison on the Github readme of the Adguard Home project but honestly both are very similar for their core usecase of blocking ads. Once the containers are started you can reach their frontend at either port 3380 (Adguard Home) or 6080 (PiHole) where you can then configure everything. NET_ADMIN is added to the limited docker container rights in both cases so that they can properly function as a DNS server. I moved that directory to an external SSD. Both will open some needed ports and store all configuration data in the DATADIR defined in the. You should only run one of those containers, the code for the other one can be commented out with # or deleted. '$/adguard/confdir:/opt/adguardhome/conf' The important part in the file is this: # alternative adblocker env), comment/uncomment the container you want (Adguard is used by default) and run docker-compose -f hosting up -d to start the containers. To run Adguard Home or PiHole just pull the hosting.yaml file (and the. You can find all my docker-compose files for this setup on my Github repository. It does not change prices for you and allows me to pay for the servers □ If you are interested in buying a Raspberry Pi consider doing it via my affiliate links above. Alternatively you can get a kit including everything you need.Either a LAN cable or if you are not using a newer Pi a seperate Wifi USB dongle. Optional: if you don’t have one yet buy a SD card reader/writer.Optional: a case (with cooling) for the Pi or at least heatsinks.A microSD card, 16+GB from a reliable manufacturer, should be fast: class 10/UHS-1.A USB (C for the Pi 4, Micro USB for the older ones) power supply with around 3.0A.A Raspberry Pi, preferably the Pi 4 with 2 or 4 GB of RAM.The hardware requirements for the DNS servers seems to be pretty low. If you have a full server available already or use a NAS that supports installing Docker containers you could also use those. Setup is easy, the updates are automated and it also runs Home Assistant for my smart home setup (like my smart light system). I am using a Raspberry Pi with a simple docker-compose software setup as described in my home server guide to host my Adguard Home instance. You might even consider using two devices for backup, oherwise you have to manually switch to another DNS server on your clients if it goes down. First of all you need some always on device in your network to run this server on as DNS resolving will stop working if this server is down. Both PiHole and Adguard Home have great Docker images you can use. I suggest using Docker to install your DNS blocker to make the process as simple as possible. How to install Adguard Home or PiHole with Docker As you have this local instance now cached requests can be even faster than before now and you avoid all the unnecessary traffic for ads. Everything else is passed on to a (configurable set of) external DNS server. To the client it looks like the server is just not reachable. If such content is found no address is returned. You basically run your own local DNS server that checks all requests for known spam/ads/unwanted content. This is where DNS based ad blocking steps in. Usually all devices in your network ask your router for a DNS server which will point them at the one chosen by your internet service provider. A DNS server is used to resolve this name to the actual address. If you open a website you are usually using a DNS name (like ) to avoid having to remember the actual IP address. To circumvent that problem you can utilize something else you (should) still own: your network infrastructure, or more precisely your router. ![]() On your (unrooted) smartphone this becomes a much harder problem, on other devices like smart speakers you have no control at all. On your desktop PC you can use some great browser plugins (like ublock Origin for Chrome in my case) to get rid of ads. They also waste a lot of bandwidth and can even be a potential security risk. While ads on the Internet can be a good thing when well used (they finance quite a lot of great and otherwise free services) they can also be very annoying and make the web nearly unusable in some cases. Is it worth the trouble? Why do you need ad blockers? ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |