[Dnsmasq-discuss] How to get name of DHCP'ed system?

Paul Smith psmith at gnu.org
Fri Jan 23 17:23:24 GMT 2009


On Fri, 2009-01-23 at 16:29 +0000, Chris G wrote:
> Where is dhcp.leases?  I've looked in the obvious places and can't see
> it, a quick Google suggests it should be /var/dhcp.leases but I
> haven't got that.  

The file is actually called "dnsmasq.leases" (at least on the systems I
have) and it's in /var/lib/misc.

> It does seem that there's a need for a simple utility to get these
> names though.

You can write a little script to query the dnsmasq.leases file :-)




More information about the Dnsmasq-discuss mailing list