dnscrypt-proxy [1] can also be used to do DNS-based ad (and other categories) filtering, logging and more:<p>[1] <a href="https://github.com/jedisct1/dnscrypt-proxy/wiki/Filtering" rel="nofollow">https://github.com/jedisct1/dnscrypt-proxy/wiki/Filtering</a>