On Thu, Sep 22, 2016 at 3:21 PM, Nehal J Wani <nehaljw.k...@gmail.com> 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
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/listinfo/dnsmasq
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 provided?
Thanking You,
Nehal J Wani
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-discuss@lists.thekelleys.org.uk
http
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
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
___
Dnsmasq-discuss
On Sat, Jun 28, 2014 at 12:58 AM, Simon Kelley si...@thekelleys.org.uk 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-ro is set. Note that setting
, but 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
___
Dnsmasq-discuss mailing
Is the environment variable DNSMASQ_INTERFACE set when del action is
called? If not, why?
On 12/17/13, Simon Kelley si...@thekelleys.org.uk 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 / macscript
On 12/17/13, Simon Kelley si...@thekelleys.org.uk 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 is not stored
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 add it :)
--
Nehal J Wani
On Tue, Oct 22, 2013 at 11:44 PM, Simon Kelley si...@thekelleys.org.uk 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_MAC is not mentioned
in the man page formed from the recent pull
as tarball
and when will it be available in the fedora repositories? (I don't
know who maintains the package buildings, but a tentative date would
be fine)
--
Nehal J Wani
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http
: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://commandlinewani.blogspot.com
--
Nehal J Wani
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley si...@thekelleys.org.uk wrote:
On 23/09/13 19:12, Nehal J Wani wrote:
If I am not wrong, there are 5 fields in a dnsmasq/network-name.leases
file:
(i) Expiry time
(ii) MAC Address
(iii) IP Address
(iv) Hostname
(v) Client ID
Q1
On Tue, Sep 24, 2013 at 3:37 PM, Simon Kelley si...@thekelleys.org.uk wrote:
On 24/09/13 10:48, Nehal J Wani wrote:
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelleysi...@thekelleys.org.uk
wrote:
On 23/09/13 19:12, Nehal J Wani wrote:
If I am not wrong, there are 5 fields in a dnsmasq/network
, 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.thekelleys.org.uk
http
On Tue, Sep 24, 2013 at 1:15 AM, Simon Kelley si...@thekelleys.org.uk wrote:
On 23/09/13 19:12, Nehal J Wani wrote:
If I am not wrong, there are 5 fields in a dnsmasq/network-name.leases
file:
(i) Expiry time
(ii) MAC Address
(iii) IP Address
(iv) Hostname
(v) Client ID
Q1
I am implementing a public API in libvirt as part of my GSoC project, for
which I need to parse the dnsmasq/network-name.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
19 matches
Mail list logo