Re: [Dnsmasq-discuss] Query regarding --leasefile-ro

2014-07-01 Thread Nehal J Wani
That looks sensible. I guess from these questions that you're thinking about storing the lease database just in the custom format, and using --leasefile-ro Right now, libvirt stores all leases for each interface in separate files. That is, one lease database per dnsmasq instance, it does so,

Re: [Dnsmasq-discuss] Query regarding --leasefile-ro

2014-07-01 Thread Simon Kelley
On 01/07/14 13:33, Nehal J Wani wrote: That looks sensible. I guess from these questions that you're thinking about storing the lease database just in the custom format, and using --leasefile-ro Right now, libvirt stores all leases for each interface in separate files. That is, one lease

[Dnsmasq-discuss] Query regarding --leasefile-ro

2014-06-30 Thread Nehal J Wani
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 lease database, in dnsmasq leasefile format, to stdout and exit with zero exit code. Q1. What is the purpose of printing to stdout? I guess it is for

Re: [Dnsmasq-discuss] Query regarding --leasefile-ro

2014-06-30 Thread Simon Kelley
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 lease database, in dnsmasq leasefile format, to stdout and exit with zero exit code. Q1. What is the

Re: [Dnsmasq-discuss] Query regarding --leasefile-ro

2014-06-30 Thread Nehal J Wani
On Tue, Jul 1, 2014 at 12:27 AM, Simon Kelley si...@thekelleys.org.uk 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 lease database, in dnsmasq

Re: [Dnsmasq-discuss] Query regarding --leasefile-ro

2014-06-30 Thread Simon Kelley
On 30/06/14 20:46, Nehal J Wani wrote: On Tue, Jul 1, 2014 at 12:27 AM, Simon Kelley si...@thekelleys.org.uk 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