How can we cache the result of gethostbyname?
-
09-09-2020 - |
Question
My proxy server is spending a lot of time resolving the domain names,is there a way to make gethostbyname
cache the result?
Solution
Use nscd, the name serivce caching daemon
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow