On Thu, Sep 22, 2016 at 3:21 PM, Nehal J Wani wrote:
> Hi!
>
> According to the man page of dnsmasq, DNSMASQ_LEASE_EXPIRES stores the
> time of lease expiry and DNSMASQ_TIME_REMAINING stores the number of
> seconds until expiry and these are passed to the script specified to
>
ons and it is different in struct script_data.
Is there a specific reason behind choosing different datatypes?
Cheers!
Nehal J Wani
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listin
only one lease database for all dnsmasq instances, how will the leases
helper program distinguish between different interfaces (that is, for
which interface should I print info, if I get 'init' as argument)? How
does it happen by default, when none of --dhcp-script and
--leasefile-ro are
On Tue, Jul 1, 2014 at 12:27 AM, Simon Kelley wrote:
> On 30/06/14 10:39, Nehal J Wani wrote:
>> Hi!
>>
>> The man page of dnsmasq (under the section "-9, --leasefile-ro"), states:
>> When called like this the script should write the saved state of the
&g
so prints some extra information
like "duid 00:01:00:01:1b:40:8d:94:00:25:64:8b:e4:2c" in the lease
file. Is this also mandatory to print to stdout in case I use
leasefile-ro ?
Thanking You,
Nehal J Wani
___
Dnsmasq-discuss mailing list
Dnsmasq-d
On Sat, Jun 28, 2014 at 12:58 AM, Simon Kelley wrote:
> On 27/06/14 19:40, Nehal J Wani wrote:
>>> An "old" event is not generated when a lease is _renewed_ (ie when the
>>> only thing that changes is the expiration time) unless the option
>>> leasefile-r
both
concurrently.
Another question, not very much related to dnsmasq, is that when a
machine receives a lease for a particular period, when should it query
the DHCP again for a new lease? Is it bound to do so, by some RFC? Or
is a matter of choice by the developer?
--
Nehal J Wani
__
ut the script
/tmp/script.sh doesn't get invoked when the lease gets renewed. Is
this expected? I don't see any 'old' event for the renewed lease.
Regards,
Nehal J Wani
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
On 12/17/13, Simon Kelley wrote:
> On 16/12/13 21:26, Nehal J Wani wrote:
>> Is the environment variable DNSMASQ_INTERFACE set when "del" action is
>> called? If not, why?
>
> It _may_ be, if the interface associated with the lease is known. That
> information i
Is the environment variable DNSMASQ_INTERFACE set when "del" action is
called? If not, why?
On 12/17/13, Simon Kelley wrote:
> On 16/12/13 19:06, Nehal J Wani wrote:
>> Suppose I am using the script for dnsmasq lease-change hook
>> ([dnsmasq.git] / contrib / mactable
the "/tmp/dnsmasq-ip-mac.status"
file will have those old entries. How will I clean them up? Will I
have to manually check the timestamps and remove those entries or
dnsmasq provides something that I am missing?
--
Nehal J Wani
___
Dnsma
On Tue, Oct 22, 2013 at 11:44 PM, Simon Kelley wrote:
> On 22/10/13 19:09, Nehal J Wani wrote:
>>>
>>> if [ -n "$DNSMASQ_IAID" ]; then
>>>mac="$DNSMASQ_MAC" # IPv6
>>
>>
>> The existence of the environment variable DNSMASQ
> if [ -n "$DNSMASQ_IAID" ]; then
> mac="$DNSMASQ_MAC" # IPv6
The existence of the environment variable DNSMASQ_MAC is not mentioned
in the man page formed from the recent pull of dnsmaq code. It would
be helpful if someone could ad
01:db8:ca2:2:1::3e
00:01:00:01:19:df:40:a6:52:54:00:b7:87:3e
1380749880 52:54:00:bc:55:df 2001:db8:ca2:2:1::8f
00:01:00:01:19:df:40:a6:52:54:00:bc:55:df
1380749880 52:54:00:b7:87:3e 2001:db8:ca2:2:1::3e
00:01:00:01:19:df:40:a6:52:54:00:b7:87:3e
Apologies fo
On Tue, Sep 24, 2013 at 3:37 PM, Simon Kelley wrote:
> On 24/09/13 10:48, Nehal J Wani wrote:
>>
>> On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley
>> wrote:
>>>
>>> On 23/09/13 19:12, Nehal J Wani wrote:
>>>>
>>>>
>>&g
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley wrote:
> On 23/09/13 19:12, Nehal J Wani wrote:
>>
>> If I am not wrong, there are 5 fields in a dnsmasq/.leases
>> file:
>>
>> (i) Expiry time
>> (ii) MAC Address
>> (iii) IP Address
>> (iv) Hos
008810 12809175 2001:db8:ca2:2:1::67 *
00:01:00:01:19:d3:f1:da:52:54:00:c3:73:d7
1380007610 2770926 2001:db8:ca2:2:1::3e *
00:01:00:01:19:d3:ed:2a:52:54:00:2a:47:ee
Thanks for the info.
>
>
>
> --
> Nehal J Wani
> UG3, BTech CS+MS(CL)
> IIIT-Hyderabad
> http://commandli
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley wrote:
> On 23/09/13 19:12, Nehal J Wani wrote:
>>
>> If I am not wrong, there are 5 fields in a dnsmasq/.leases
>> file:
>>
>> (i) Expiry time
>> (ii) MAC Address
>> (iii) IP Address
>> (iv) Hos
but is it safe to assume
that it will be '*' for any value that is unknown?)
--
Nehal J Wani
UG3, BTech CS+MS(CL)
IIIT-Hyderabad
http://commandlinewani.blogspot.com
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.th
I am implementing a public API in libvirt as part of my GSoC project, for
which I need to parse the dnsmasq/.leases file.
I would like to know the maximum length that an entry can have in the
leases file.
Thanking You,
Nehal J. Wani
UG3, BTech CS+MS(CL)
IIIT-Hyderabad
http
20 matches
Mail list logo