There's no end-of-dump marker; I guess your application was never envisaged. A patch to add one would be simple.
As a woraround: a cache dump always _starts_ with the line time <number> so if you dumped the cache twice, the start of the second dump would serve as a unique marker for the end of the first. Cheers, Simon. On 30/07/18 12:34, Shankara Ramamurthy wrote: > Hi, > > I'm currently running dnsmasq v2.79 and have redirected logging to a > named pipe and I periodically send SIGUSR1 from my application to get a > dump of the cache contents. When the cache is dumped, is there a > mechanism to indicate that the cache dump is complete or some indication > on the number of cache entries about to be dumped? > > Thanks & Regards, > -Shankara R. > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss