Orginal post: http://jacobsalmela.com/block-millions-ads-network-wide-with-a-raspberry-pi-hole-2-0/
This is a short guide how to block “all” ads with a raspberry pi, using it as a DNS.
curl -L install.pi-hole.net | bash ;on your Pi, or any debianbased OS should work, and just follow the guide. Then in your dhcp-server add your Pi as the only DNS-server.
Download installationscript here