localhost or LAN addresses in /etc/hosts
cl at isbd.net
Tue Dec 16 18:14:47 UTC 2008
On Tue, Dec 16, 2008 at 10:43:05AM -0500, Bart Silverstrim wrote:
> Chris G wrote:
> > On Tue, Dec 16, 2008 at 08:58:43AM -0500, Bart Silverstrim wrote:
> >> I think the important thing at this particular point is to have everyone
> >> just stop and review what the actual question is and what the options
> >> are and then go from there. It sounds almost like now Chris (you're the
> >> original poster, yes?) wanted a setup on a small network for DHCP
> >> and...what? Making sure particular machines had the same IP every time?
> >> Making sure they have particular DNS names? What is it exactly you're
> >> trying to do on your network?
> > I'm trying to use it! :-) I don't mind in the slightest whether it
> > uses/needs a DHCP server, or dnsmasq, or does clever things in the
> > router. I want whichever of these various approaches will give me the
> > simplest network to set up and maintain.
> Okay,...what isn't working?
Nothing! It's all working fine. As I said all I wanted to know
originally was whether I could remove a couple of entries from
/etc/hosts. It turns out that I can remove the entries and thus as a
result dnsmasq works perfectly and I have all I want.
> The *simplest* would be static IP's across the board and you'd
> memorize...believe me if you use them it won't take long...the IP
> address of the device(s) you use, especially if it's a small network.
*I* remember them but it doesn't necessarily mean that other family
> It can, yes. There are some programs that will have troubles, but I
> can't remember specifically. It's one of those things you normally do
> not tinker with, entries for localhost.
Not localhost, that's still there. It's the entries that ubuntu adds
for the machine name.
More information about the ubuntu-users