I'm wondering if anyone could help me achieving this relatively easy to do task.
Thing is that for some odd reason Stubby will crash and not start again, or even if one wireless interface is off, Stubby can also stop, even better, rebooting the router will not start Stubby up for some reason, and manual reload is needed.
I've installed Monit, in order to achieve the monitoring and reloading of Stubby, but I'm stuck on the actual configs. What am I supposed to monitor to notice the crash? 127.0.0.1 on port 5354?
My DNS is set to 127.0.0.1#5354
Currently this is what I have in monitrc for Stubby:
check process stubby with pidfile /var/run/stubby.pid
start program = "/etc/init.d/stubby start"
stop program = "/etc/init.d/stubby stop"
The rest is unknown for me, anyone had this issue before, or could assist in setting up Monit?
Using Stubby for local system is troublesome and may lead to race condition and deadlock state if there're services which depend on DNS at system startup such as Adblock.
You should not disable DNS on the WAN interface.
Thank you for the suggestion!
Maybe I should just reconfigure everything and start off the config as brand new to overrule these issues. I've probably enabled way too much crap which I shouldnt need.