add cache timeout for ip addresses. Add a version string and put it in the config