Self monitoring/watchdog: especially for DNS resolver

As one of our Peplink Balance 300 routers (BA300) periodically stops resolving external DNS queries, it would be nice when Peplink implements a kind of monitoring / watchdog for the device itself.

Preferably such a monitor/watchdog should periodically (once every minute?) check one or more user DNS queries that should return a valid (or predefined) response.

When there is no correct response, restart the DNS daemon, and when after restarting that isn’t going to work, give a configurable option to immediately restart/reboot the Peplink device, or restart/reboot the Peplink device at the next available nightly hour.