New DNS caching engine 2/3.

Fix permissions.