[Dnsmasq-discuss] Strange (well, I can't udnerstand it) /etc/hosts effect
Karl Goetz
karl at kgoetz.id.au
Thu Aug 13 07:47:17 BST 2009
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.
Fraid I can't find the message right now though :(
kk
> So, it appears to work, but why does 'host' respond as follows:-
>
> chris$ host www.google-analytics.com
> www.google-analytics.com has address 127.0.0.1
> www.google-analytics.com is an alias for
> www-google-analytics.l.google.com. www.google-analytics.com is an
> alias for www-google-analytics.l.google.com.
>
> Why don't the aliases disappear as well?
>
--
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20090813/28dfc681/attachment.pgp
More information about the Dnsmasq-discuss
mailing list