My proxy server is spending a lot of time resolving the domain names,is there a way to make gethostbyname cache the result?
gethostbyname
Use nscd, the name serivce caching daemon