[Dnsmasq-discuss] dnsmasq end of cache dump
Simon Kelley
simon at thekelleys.org.uk
Tue Jul 31 16:08:32 BST 2018
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 at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list