Question on /etc/hosts
zephod at cfl.rr.com
Tue Jul 6 13:06:05 UTC 2010
On Tue, 6 Jul 2010 09:32:41 +0900
Joel Rees <joel.rees at gmail.com> wrote:
> On Jul 4, 2010, at 11:34 PM, Timothy Murphy 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.
> Joel Rees
Is this what you're looking for?
Create a file /etc/dhclient.conf containing:
send host-name "your-host-name";
Check out man dhclient.conf for details and don't forget the semi-colon.
Changing lives one card at a time
More information about the users