Moved openclient to proxy and made changes for DNS caching