@jabacrack said in DNS resolver Stop Working after upgrade from 2.5.2 to 2.6.0:
Sorry, I don't understand how it help me.
When you see :
[image: 1648022158473-ff103c6d-7e5a-40c2-a65e-537ccda5be0b-image.png]
you know DNS, the resolver, isn't answering.
But that's just a GUI message. The GUI is very nice when everything goes well. When you have to look for issues, forget about the GUI.
Unbound should listen on most if not all interfaces, and the most important one is 127.0.0.1
That's why I propose :
dig @127.0.0.1 a.b.c +short
Run this in a console / SSH and leave it there for a while :
tail -f /var/log/resolver.log | grep 'start\|stop'
Only stop and start events will be shown.
Every logged 'stop' event should be followed by a start.
I'll post here a small shell script that compares the content of the /var/run/unbound.pid file with the process ID of the running unbound instance. They should be the same.
And if there is no pid file, then unbound isn't running. This can happens, but just for a short while.
I'll work on that.
@jabacrack said in DNS resolver Stop Working after upgrade from 2.5.2 to 2.6.0:
add corresponded issue to bug tracker. And, maybe, in future it will be fixed.
No need.
Unbound runs on all pfSense systems just fine. Tens of thousands, maybe hundreds of thousands. If it gets restarted, it restarts = it stops and then starts. Most of us won't never notice this.
These is only one thing to do : fin why yours stops doing it's work.
Because was stopped and resonating failed ?
The running instance freezes ?
It could be interface related (yep, they can die, drivers can fail, etc) but normally, it should stay 'up' on 127.0.0.1 as this is not a physical interface.
The GUI won't help you here to discover the issue. It's a command line task. And most of it is looking at the resolver log, and other logs like the system log to determine what event provokes your issue.