[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: dhcp evils



Michael Hennebry wrote:
> On Mon, 18 Apr 2005, William Hooper wrote:
>
>> Michael Hennebry wrote:
>> [snip]
>>
>>> I did a find from / to fgrep for stmike.
>>> Except for files in /home/hennebry I got
>>> /var/lib/slocate/slocate.db
>>> /var/lib/dhcp/dhclient-eth0.leases
>>>
>> [snip]
>>
>>> None of these seem like likely prospects.
>>>
>>
>> dhclient-eth0.leases screams relevant to me.
>
> I had thought so to until someone told me that
> dhcp didn't provide hostnames.

They are mistaken.

> Here it is:
[snip]
> option host-name "stmike";
[snip]
> Is this telling me that the client told the server that
> the client's name is stmike, that the server told the client that the
> client's name is stmike, or something else?

According to man dhclient, the dhclient.leases file stores information
received from the dhcpd server.

-- 
William Hooper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]