dhclient doesn't send hostname to dhcp server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
For example ISC dhcpd supports updating a name server if it is provided with a
hostname which the client can set. For example set up
breezybadgermac
depends on the server if the hostname will be set or not, so I think maybe it
would be a nice idea to let Ubuntu clients send their hostnames while getting a
lease from dhcpd. If you want to do that now, you have to set it in
/etc/dhclient.conf yourself.
This is how a dhcpd lease for a Windows Client looks like on the server:
lease 192.168.1.119 {
starts 3 2005/08/03 11:30:56;
ends 3 2005/08/03 23:30:56;
hardware ethernet 00:11:43:39:fb:34;
uid 01:00:11:
}
This is how a dhcpd lease for a ordinary Ubuntu client looks like on a server:
lease 192.168.1.111 {
starts 3 2005/08/03 13:12:45;
ends 4 2005/08/04 01:12:45;
hardware ethernet 00:00:e2:5b:b9:fd;
}
This is how a dhcpd lease looks like for a Ubuntu client on which I have edited
the dhclient.conf file to contain "send host.name and dhcp-client-
(
In dhclient.conf:
#send host-name "andare.fugue.com";
#send dhcp-client-
(man dhclient)
):
lease 192.168.1.111 {
starts 3 2005/08/03 13:55:30;
ends 4 2005/08/04 01:55:30;
hardware ethernet 00:00:e2:5b:b9:fd;
uid 01:00:00:
}
Downgrading to enhancement