Unbound is not registering new DHPC lease

Started by janci, September 28, 2021, 07:20:16 AM

Previous topic - Next topic
yes, /var/unbound/dhcpleases.conf is updated after new device apears

got it, thanks. so the problem is dhcpd watcher is not kept working after unbound start?
will try to reproduce

I did update my router to OPNsense 21.7.5-amd64 today.
BUT /usr/local/opnsense/scripts/dns/unbound_dhcpd.py did not start so I did start it manualy.

do you have some news / progress on this? should I write a bug ?

thanks

hi
did "daemonize unbound dhcpd watcher" string appeared in unbound log? (is it started and crashed or didnt start at all)

December 20, 2021, 08:35:22 PM #19 Last Edit: December 20, 2021, 08:46:25 PM by janci
sorry, Meanwhile I did update to 21.7.7-amd64 and unbound_dhcpd.py did not start.

which log file should I look at?
it is bit conusing for me, I am not able to find correct log file in web gui.
and on console I am not sure too.

edit:
1) I did got to Services -> Unbound DNS -> Log file
2) search for "watcher"
3) I can see that "daemonize unbound dhcpd watcher" string did appear in log cca at time when I was updating.
4) but I did remember that I did log into router over ssh and check if it is running and wasn't

just updating
I did update to 22.1. and problem remain, so if I change configuration of unbound it will restart but watcher is not running so I have to start it manually.