dnsproxy: Add a "invalidate cache" function