dhcp hostname

Michael R. Head burner at suppressingfire.org
Wed Mar 8 23:48:49 UTC 2006

On Sat, 2006-03-04 at 22:13 -0600, 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?

man 5 interfaces:

              hostname hostname
                     Hostname to be requested (pump, dhcpcd, udhcpc)

So just put a line in /etc/network/interfaces after dhcp iface line
saying 'hostname ubuntu' or whatever you like.


> ^C
Michael R. Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt [0x4C9DA1D0]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060308/9ab729c2/attachment.pgp>

More information about the ubuntu-users mailing list