DD-WRT:Ad-blocking with DD-WRT revisited (simple)

Source: frater

I will make 2 seperate threads. One thread is a simple one. It will resolve all those nasty domains to an IP of your choice. In my example I will use 0.0.0.0 but you can also change that to an ip on which you have pixelserv running.

First enable local dns and add the line Code: addn-hosts=/tmp/dlhosts

And put this in startup code. or this one (which gives the possibility to add some custom hosts in either /opt/etc/hosts or /jffs/hosts): I will later make another thread where I'll be using the onboard webserver to answer the webcalls.