[Dnsmasq-discuss] What IP to use for ad/track blocking?

Chris Green cl at isbd.net
Tue Feb 11 14:40:22 GMT 2014


I have a few entries in my dnsmasq.conf file to block some tracking
sites, as follows:-

    address=/www.addthis.com/127.0.0.1
    address=/googlesyndication.com/127.0.0.1
    address=/google-analytics.com/127.0.0.1
    address=/googleadservices.com/127.0.0.1
    address=/doubleclick.net/127.0.0.1
    address=/finder.cox.net/127.0.0.1

However this means that my web server gets the hits instead if the
requests are HTTP ones.  I.e. if I enter www.addthis.com into the
Firefox address it takes me to my local web server's root page.

Is there any IP I can put there which will prevent this - i.e. which
is a sort of 'do nothing' IP?  I've tried 0.0.0.0 but that takes me to
the local page in exactly the same way as 127.0.0.1.

-- 
Chris Green



More information about the Dnsmasq-discuss mailing list