New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unbound reporting: stops when a static lease is modified/added/removed #6402
Comments
Looks like the
core/src/etc/inc/plugins.inc.d/unbound.inc Line 661 in 35090ec
|
It might be better to replace the HUP, as it forces unbound to do a complete reload and possibly purging the cache as well (without being able to retain it). |
It's the only part of the code not following the strict restart logic, we can either attempt to reconnect from the logger (which closes itself as soon as Unbound stops), or indeed call |
5f5be7c if @AdSchellevis agrees. |
TBH, the whole 'hosts' logic can be removed and dns restart be issued instead:
|
(the same applies to dnsmasq where HUP works, but how often are host overrides edited in batch anyway) |
Should be taken care of then. Not before 23.1.3. |
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Unbound reporting stops when a static dhcp lease is modified/added/removed
To Reproduce
Change static dhcp lease
Check unbound reporting
Workaround
Reporting starts again when going into Reporting > Settings and clicking the Save button on Unbound DNS reporting
Screenshots
Additional context
Thread on OPNsense forum:
https://forum.opnsense.org/index.php?topic=32161.0
Software version used and hardware type if relevant, e.g.:
OPNsense 23.1.1_2-amd64
FreeBSD 13.1-RELEASE-p6
OpenSSL 1.1.1t 7 Feb 2023
Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz (4 cores, 4 threads)
Running in Proxmox VM
The text was updated successfully, but these errors were encountered: