dhcp hostname

Benjamin Zeller zeller at ibh-wor.de
Fri Mar 10 08:51:53 UTC 2006


On Sunday 05 March 2006 05:13, Carl Karsten wrote:
> What is the right way to make a box send it's host name to the dhcp server?
> 
> The goal is for the dhcp server to update dns with the supplied hostname. 
(yes, 
> there are other ways of doing ddns, but I am shooting for this one.)
> 
> I would think this should be the default behavior - any reason why it isn't?
> 

Got the same setup here.

Do the following:

sudo vi /etc/dhcp3/dhclient.conf

Then add the line (or rather uncomment it) stating:

send host-name "foo"; # replace foo with the desired hostname to send.


Greetings,

Benni


-- 
Benjamin Zeller
Ing.-Büro Hohmann
Bahnhofstr. 34
D-82515 Wolfratshausen

Tel.:  +49 (0)8171 347 88 12
Mobil: +49 (0)160 99 11 55 23
Fax:   +49 (0)8171 910 778
mailto: zeller at ibh-wor.de

www.ibh-wor.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060310/098453d0/attachment.pgp>


More information about the ubuntu-users mailing list