[Dnsmasq-discuss] Strange (well, I can't udnerstand it) /etc/hosts effect

Chris G cl at isbd.net
Thu Aug 13 10:14:22 BST 2009


On Thu, Aug 13, 2009 at 04:17:17PM +0930, Karl Goetz wrote:
> On Wed, 12 Aug 2009 15:58:05 +0100
> Chris G <cl at isbd.net> wrote:
> 
> > I run a fairly default version of dnsmasq on my xubuntu 9.04 Linux box
> > so that I don't have to maintain losts of network (or hosts)
> > configurations around our network.
> > 
> > I have just added:-
> > 
> >     127.0.0.1       www.google-analytics.com
> > ssl.www.google-analytics.com
> > 
> > to my /etc/hosts file.  I'm not paranoid about snooping but I am fed
> > up with having to wait for www.google-analytics.com to respond, it's
> > often quite slow taking several seconds with the address displayed at
> > the bottom of Firefox.
> > 
> 
> Have you considered using address= in the configuration file?
> I have a short list of addresses I poison in that way, and some time
> ago (2-3 months?) on this list someone included instructions on an
> automatically updating list + apache rewrite to avoid nasty messages.

I have added:-

    address=/www.google-analytics.com/127.0.0.1

to the end of /etc/dnsmasq.conf and done 'kill -SIGHUP nnnn', no
change, I still get the aliases appearing.


-- 
Chris Green




More information about the Dnsmasq-discuss mailing list