Privoxy

Ad blocking using DNS and Privoxy (with Squid for caching)

Chaining Squid and Privoxy for caching and ad-blocking combined with DNS-based ad-blocking using dnsmasq
Ad blocking dnsmasq Privoxy Squid