âš This project has been put on hold because I don't have the knowledge to properly set it up and use it.âš
DNS (or Domain Name Server) allows you to map domains names to ip address, example github.com
=> 140.82.121.3
.
So if you take all the add urls and block them, then boom! Now many would say use the hosts file found on your device, but its to much hassle for each device on your network and mobile devices don't support it. You can use a pi hole, but this is a much smaller, lighter, quickly deployable solution.
All it is Dockerfile and a Javascript setup script.
There is a commmunity edition with add blocking, not 100% perfect. And you can deploy it your self so you can add custom hosts and add more ad blocking urls.
âš This has not been tested in real world and still dosn't work.âš
Not yet ready.
3 very easy and replicable steps. Make sure you have docker installed on the machine.
- Fork this repo or just get the source code somehow.
- Run
docker build ./ -t dns
- Run
docker run -p 53:53 dns