Adding or removing DHCP lease causes Unbound reporting to stop

Started by Christophe999s, January 29, 2023, 04:25:39 PM

Previous topic - Next topic
First of all, thanks to the devs for all the hard work!
When I add or remove a new static lease in the DHCP service, Unbound reporting stops.
It starts again when going into Reporting > Settings and clicking the Save button on Unbound DNS reporting

Same here - just noticed this morning after fiddling with static leases yesterday (reporting stopped around midday yesterday, around when I was fiddling the network).

I think it's worth raising a ticket on github: unbound_hosts_generate() function is HUPping unbound at the end. unbound logger gracefully stops on this case. maybe it should either give the logger a chance to reopen a pipe in this case or restart unbound on unbound_hosts_generate() (is it worth it?) or (re)started after unbound HUPping (simplest) or maybe the logger should be started from dnsbl module? better to discuss with the devs

Interesting.  I wonder if that's what happened to me.  I hadn't connected the two events but I did add static leases and I did have the reporting stop.