[nzlug] assign host name to computer

Alastair Porter alastair at porter.net.nz
Mon Mar 5 13:27:06 NZDT 2007


On Mon, 2007-03-05 at 13:07 +1300, Robin Sheat wrote:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
> > a) configure your system to send the hostname from #1 above in the DHCP
> > request and let the DHCP server update DNS, or
> For some reason, Linux doesn't do this by default. How do you make it do that, 
> anyone know (Ubuntu in particular, but I'm sure I could work it out from any 
> description)?
Edit /etc/dhcp3/dhclient.conf and make sure there's a line:
send host-name "foo";

Alastair




More information about the NZLUG mailing list