[Dnsmasq-discuss] Lease Time Detail

Joshua J. Kugler joshua at eeinternet.com
Wed Sep 21 17:51:49 BST 2011


On Wednesday, September 21, 2011, richardvoigt at gmail.com elucidated 
thus:
> Read the man page description for dhcp-script.  All the information
> you asked about is available there.  So dnsmasq does have it. 
> Anyway, the simple way is to write a dhcp-script that puts
> information in a database, that way you'll have records of expired
> leases, since dnsmasq removes them from its internal database.
> 
> On Wed, Sep 21, 2011 at 6:53 AM, Pratik Kumawat <kumawat10 at yahoo.com> 
wrote:
> > DNSMASQ doesn't store the lease expiry interval, neither does it
> > store the time at which the lease was offered to the client. So
> > can anyone pls tell me how to get to know the details about the
> > expired leases as well as the current leases and the time
> > remaining to expire??

I'm pretty sure it stores the time the lease was offered in 
/var/lib/misc/dnsmasq.leases.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A



More information about the Dnsmasq-discuss mailing list