piHole stopped working suddenly (not resolving DNS Querys) until I ran restartdns manually in CLI

This typically happens for unstable power supplies, power loss without shutting down the device properly or bad SD cards.

or maybe rather

https://techblog.dorogin.com/sqliteexception-database-disk-image-is-malformed-77e59d547c50