Re: [Dnsmasq-discuss] Lease Time Detail

2011-09-22 Thread Pratik Kumawat
Thanks everyone.. I found out about the epoch UNIX format and found out the lease time from that.. Now I want to know that how can I make my dnsmasq store even the expired leases for atleast the time duration I want?? Currently it simply deletes the expired lease but wht if I want that data

Re: [Dnsmasq-discuss] Lease Time Detail

2011-09-22 Thread Pratik
And can I pls ask u to show me a simple script to do so??? I m totally naive for scripting so.. Thanks in advance.. :)

Re: [Dnsmasq-discuss] Lease Time Detail

2011-09-22 Thread Helmut Hullen
Hallo, Pratik, Du meintest am 22.09.11: And can I pls ask u to show me a simple script to do so??? I m totally naive for scripting so.. Thanks in advance.. :) Just an example: Part of /etc/dnsmasq.conf: dhcp-script=/root/bin/clientname Script /root/bin/clientname: #! /bin/bash #

Re: [Dnsmasq-discuss] Lease Time Detail

2011-09-22 Thread richardvo...@gmail.com
Surely the DNSMASQ_LEASE_EXPIRES variable should be captured also. On Thu, Sep 22, 2011 at 8:08 AM, Helmut Hullen hul...@t-online.de wrote: Hallo, Pratik, Du meintest am 22.09.11: And can I pls ask u to show me a simple script to do so??? I m totally naive for scripting so.. Thanks in