localhost or LAN addresses in /etc/hosts
Chris G
cl at isbd.net
Mon Dec 15 19:54:47 UTC 2008
On Mon, Dec 15, 2008 at 02:50:58PM -0400, Derek Broughton wrote:
> Chris G wrote:
>
> > Er, no, this is where we came in! I'm using dnsmasq on *one* machine
> > in the LAN and that means I only have to edit *one* /etc/hosts and
> > dnsmasq tells other machines on the network the contents of that one
> > /etc/hosts via DNS.
>
> Er, no. That's not what dnsmasq does. It uses your /etc/hosts (or
> similar file) to prime its DNS cache.
OK, technically true, but the effect is what I said. When one of the
other systems asks dnsmasq for the address of something it gets the
address that is in /etc/hosts - unless of course it's not there in
which case dnsmasq passes the request on the the outside world
(hopefully).
--
Chris Green
More information about the ubuntu-users
mailing list