[Dnsmasq-discuss] Request hostnames from clients?
Simon Kelley
simon at thekelleys.org.uk
Wed Feb 1 21:33:04 GMT 2006
Matt Hull 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
>> behave?
>>
>
>
> i think dhcpcd is this way too. but if the internet goes down after it
> got an ip it will wait till ti comes back up. not sure if the eth can be
> started and set to wait...
>
Setting the timeout to zero (dhcpcd -t 0) will cause it to wait forever,
at least on the Debian version and 2.0.x releases.
Cheers,
Simon
More information about the Dnsmasq-discuss
mailing list