I found an excellent link of hosts serving ads and tracking cookies. I'd like to run a DNS server on my (newly reflashed) router running the DD-WRT firmware, and re-route all connections to any of these hostnames to

I see options for DNSMasq on the interface to my router, but I don't think it gives me the capability to enter specific DNS entries.



I don't know about rerouting them to the default gateway. In theory, that would only send them back to you. You could use the list as suggested on the web page and make all those hosts appear as which would effectively prevent them from sending you any data.

This can be done in DNSMasq: Services > Additional DNSMasq Options


This info is from a dd-wrt discussion

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.