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

Maciej Soltysiak maciej at soltysiak.com
Wed Feb 12 08:16:57 GMT 2014

On Tue, Feb 11, 2014 at 3: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/
>     address=/googlesyndication.com/
>     address=/google-analytics.com/
>     address=/googleadservices.com/
>     address=/doubleclick.net/
>     address=/finder.cox.net/
Try to return NXDOMAIN so that the connection is not even made. Example:


and so on. This makes dnsmasq say the domain doesn't exist.

> Chris Green
Maciej Soltysiak

More information about the Dnsmasq-discuss mailing list