News for hackers. Stuff that matters.
Re:Firefox 57 delays requests to tracking domains by ryandrake on Wednesday December 20, 2017 @02:38AM (#15967754)
Yea, not exactly Pi-Hole, but the same concept. dnsmasq running on router, with a big list of ad-serving domains and hosts resolving to 0.0.0.0
Re:Firefox 57 delays requests to tracking domains by fb03 on Wednesday December 20, 2017 @05:16AM (#15968424)
Wow, nice and simple. Is that list available in some repository? would like to implement that since I run a dnsmasq bearing router at my home border as well.
Re:Firefox 57 delays requests to tracking domains by Pete_D on Wednesday December 20, 2017 @06:57AM (#15968837)
I do the same - my approach was to take some of the popular /etc/hosts files (like http://someonewhocares.org/hosts/zero) and sed them into dnsmasq format:

    # before:  0.0.0.0  evil.biz
    # after:   address=/evil.biz/0.0.0.0
    sed 's#^0\.0\.0\.0[[:space:]]*\([^:]*\)$#address=/\1/0.0.0.0#'
which goes in a file in /etc/dnsmasq.d/, with this line in /etc/dnsmasq.conf:

    conf-dir=/etc/dnsmasq.d
The results can be trimmed a lot, e.g. if you have rules for a.evil.biz and b.evil.biz, you can usually reduce those to a rule for just evil.biz. I wrote some scripts to help with this, which are now at https://petedeas.co.uk/dnsmasq/. I might write something up about the process later.
Re:Firefox 57 delays requests to tracking domains by ryandrake on Wednesday December 20, 2017 @07:36PM (#15975296)
Here's a nice repo with a "starting point" for hostnames and domains to block: https://github.com/notracking/hosts-blocklists