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

Chris G cl at isbd.net
Wed Aug 12 16:32:46 BST 2009


On Wed, Aug 12, 2009 at 03:58:05PM +0100, Chris G 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.
> 
Oh dear, "udnerstand", "losts", I expect you can follow it though.  :-)

> 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.
> 
> 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?
> 
> -- 
> Chris Green
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

-- 
Chris Green




More information about the Dnsmasq-discuss mailing list