[Dnsmasq-discuss] Request hostnames from clients?
simon at thekelleys.org.uk
Wed Feb 1 21:30:21 GMT 2006
Josef Wolf wrote:
> On Wed, Feb 01, 2006 at 11:47:14AM +0000, Simon Kelley wrote:
>>>Is there any way to force clients to send their hostnames to dnsmask?
>>Not possible. There's nothing in the DHCP protocol that would allow
>>this. Note that the Debian package of dhcpcd does send the hostname by
>>default, so if you can arrange to use dhcpcd instead of dhclient that
>>would solve the problem.
> Making dhclient what I need is easy, too. But the default installation
> don't use dhcpcd and dont configure dhclient in this way. Thus manual
> intervention is needed on every client either way. :-(
> BTW: sarge starts dhclient with the -e option. Therefore the client will
> give up to get a lease and _exit_ when the server can not be reached
> at boot time. Thus it will never retry to get a lease when the server
> is available again. I bet this is _not_ the way the client should
> Thanks for your quick response.
The DHCP client implementation on all Linux distros is sub-optimal, in
my experience. I'm involved in a rather slow-moving project to overhaul
Debian's Network config infrastructure, and this is one of the things we
will be looking at. I'm happy to receive any items for the "better
netconf wishlist". Best to send private mail, it's OT for this list.
More information about the Dnsmasq-discuss