No it is not. I commented out log-facility option and a leases file was created at /var/lib/misc/dnsmasq.leases
/var/lib/misc # cat dnsmasq.leases > 1564146601 52:54:00:96:bf:af 10.20.102.206 * > ff:00:d9:85:be:00:01:00:01:24:95:20:a9:52:54:00:d9:85:be Here is snippet of log showing two leases: /var/lib/misc # grep DHCPACK /home/jmuro/dnsmasq/10.20.102/dnsmasq.log > Jul 25 09:09:48 dnsmasq-dhcp[15114]: 1132147783 DHCPACK(vlan1299) > 10.20.102.208 52:54:00:3a:0a:99 > Jul 25 09:09:48 dnsmasq-dhcp[15114]: 1587159527 DHCPACK(vlan1299) > 10.20.102.208 52:54:00:96:bf:af > Jul 25 09:10:01 dnsmasq-dhcp[15114]: 449932110 DHCPACK(vlan1299) > 10.20.102.206 52:54:00:96:bf:af Not sure why there are two DHCPACKs for the same IP from two different clients. Although it seems each host settled on a unique IP as I can ping both. On Thu, Jul 25, 2019 at 7:11 AM < dnsmasq-discuss-requ...@lists.thekelleys.org.uk> wrote: > Send Dnsmasq-discuss mailing list submissions to > dnsmasq-discuss@lists.thekelleys.org.uk > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > or, via email, send a message with subject or body 'help' to > dnsmasq-discuss-requ...@lists.thekelleys.org.uk > > You can reach the person managing the list at > dnsmasq-discuss-ow...@lists.thekelleys.org.uk > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Dnsmasq-discuss digest..." > > > Today's Topics: > > 1. Re: leases file only contains a single entry (john doe) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 25 Jul 2019 09:54:00 +0200 > From: john doe <johndoe65...@mail.com> > To: dnsmasq-discuss@lists.thekelleys.org.uk > Subject: Re: [Dnsmasq-discuss] leases file only contains a single > entry > Message-ID: <4ba4f943-8c0f-2deb-f569-46fcb95b2...@mail.com> > Content-Type: text/plain; charset=utf-8 > > On 7/25/2019 5:20 AM, Joseph Muro wrote: > > Hi, > > > > The dnsmasq.leases file only contains a single entry, even though 3 DHCP > > leases have been acknowledged. > > > > Here is content of leases file: > > > > 1564110359 52:54:00:da:34:b0 10.20.102.208 * > >> ff:00:d9:85:be:00:01:00:01:24:95:20:a9:52:54:00:d9:85:be > > > > > > Here is snippet of configuration: > > > >> > >> pid-file=/home/jmuro/dnsmasq/10.20.102/dnsmasq.pid > >> dhcp-hostsfile=/home/jmuro/dnsmasq/10.20.102/hostsfile > >> addn-hosts=/home/jmuro/dnsmasq/10.20.102/addnhosts > >> dhcp-leasefile=/home/jmuro/dnsmasq/10.20.102/dnsmasq.leases > >> > >> # Log options > >> log-facility=/home/jmuro/dnsmasq/10.20.102/dnsmasq.log > >> log-queries=extra > >> log-dhcp > > > > > > I attached log file. > > > > What am I missing? > > > > Thanks, > > > > Is the lease file properly populated if you don't specify a lease file? > > -- > John Doe > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > > > ------------------------------ > > End of Dnsmasq-discuss Digest, Vol 170, Issue 19 > ************************************************ >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss