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

2014-02-11 Thread Chris Green
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@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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

2014-02-11 Thread Gabriel
I haven't tried it, but maybe 127.0.0.2 will do the trick.
On Feb 11, 2014 4:40 PM, Chris Green c...@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@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss