http://www.pyrenean.com/index.php?page_value=-1
DNSKong is a DNS proxy that can use wildcard configuration.
Its partner program, Edexter can be used to replace some blocked content, so that instead of seeing broken image markers (when using it as an ad blocker), you can substitute a local image.