dhcp evils

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Tue Apr 19 16:50:23 UTC 2005


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.

Here it is:
lease {
  interface "eth0";
  fixed-address 24.117.45.226;
  option subnet-mask 255.255.252.0;
  option time-offset 0;
  option routers 24.117.44.1;
  option dhcp-lease-time 1209600;
  option dhcp-message-type 5;
  option domain-name-servers 24.116.209.232,24.116.0.202,24.116.212.232;
  option dhcp-server-identifier 24.117.44.1;
  option broadcast-address 255.255.255.255;
  option host-name "stmike";
  renew 5 2005/4/22 01:09:45;
  rebind 4 2005/4/28 11:02:46;
  expire 6 2005/4/30 05:02:46;
}

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?

-- 
Mike   hennebry at web.cs.ndsu.NoDak.edu
"I AM DEATH, NOT TAXES.  *I* ONLY TURN UP ONCE."  --  Death





More information about the users mailing list