Question on /etc/hosts

Tim ignored_mailbox at
Tue Jul 6 12:04:41 UTC 2010

On Tue, 2010-07-06 at 09:32 +0900, Joel Rees wrote:
> What I'm trying to figure out is how to tell a host who it is when  
> assigning DHCP, without using internal DNS. It seems like a waste to  
> run a local name server on every portable machine I have, just so it  
> doesn't forget who it is when it's on the road.

That's a case for when you would put a hostname into a hosts file,
though not into the line.  And it's only going to be helpful
when the machine keeps being given the same address.  Though you'd have
a similar problem with local DNS servers on each machine.

Though, when disconnected, does the machine need to think of itself with
the same name?

[tim at localhost ~]$ uname -r

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.

More information about the users mailing list