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

Gabriel jarod125 at gmail.com
Tue Feb 11 22:46:24 GMT 2014


I haven't tried it, but maybe 127.0.0.2 will do the trick.
On Feb 11, 2014 4:40 PM, "Chris Green" <cl at isbd.net> wrote:

> 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
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140212/4d73157a/attachment.html>


More information about the Dnsmasq-discuss mailing list