Thanks for all your suggestions. I checked the documentation for dnscache and if I read it correctly, it uses a pre-configured amount of memory to keep the cache. No problem and as stated by jader, I'll try to move the server to a powersocket which always supplies power.
Thanks again!