OPNsense Forum

English Forums => General Discussion => Topic started by: mvdheijkant on July 07, 2022, 06:35:22 PM

Title: Modified Unbound DNS configuration never restarts
Post by: mvdheijkant on July 07, 2022, 06:35:22 PM
Every time I modify some Unbound DNS setting, but mostly Overrides, the service does not restart.
It does stop running after the settings are saved.
Also trying to do a manual start does not work. It halts for a few seconds showing it wants to start, but nothing happens.
Only after a reboot the service is again up and running.


Does anyone has an explanation for this behavior, and can it be resolved, or where can I find any logging why the service does not restart?

Thanks.
Title: Re: Modified Unbound DNS configuration never restarts
Post by: cookiemonster on July 07, 2022, 10:51:23 PM
Try running unbound-checkconf after your changes are made, it might show what it's not happy about.
Title: Re: Modified Unbound DNS configuration never restarts
Post by: franco on July 08, 2022, 09:01:07 AM
Or this on the console:

# configctl unbound check


Cheers,
Franco
Title: Re: Modified Unbound DNS configuration never restarts
Post by: mvdheijkant on July 08, 2022, 06:41:45 PM
thanks franco and cookiemonster,

nothing found yet.
I ran both commands before changing anything and after. no errors found.
I feel a bit foolish, because now the issue doesn't happen (version OPNsense 22.1.10-amd64 from last night), whatever i try.
Still i'm not convinced that it won't happen after Opnsense has run for a while.
I will keep you updated.