Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS cache #1878

Closed
roccomuso opened this issue Nov 14, 2018 · 2 comments
Closed

DNS cache #1878

roccomuso opened this issue Nov 14, 2018 · 2 comments

Comments

@roccomuso
Copy link

roccomuso commented Nov 14, 2018

I do understand that maybe it's not the purpose of this lib (feel free to close in case).
But would be useful adding a dns cache layer.
It's one of the common problem nowadays with huge number of requests. It doesn't cache dns lookups or anything. Maybe it's worth just mentioning this in Readme.

@roccomuso roccomuso changed the title dns cache DNS cache Nov 14, 2018
@nachogarcia
Copy link

nachogarcia commented Jul 13, 2020

We were having dns lookup issues in our server, greatly explained in https://medium.com/@amirilovic/how-to-fix-node-dns-issues-5d4ec2e12e95 and we didn't have access to setup dns cache on the nodes, so being able to enable caching in axios would have been great (even though I totally agree that this should be handled by Node or the OS).
Something like https://www.npmjs.com/package/axios-cached-dns-resolve

@chinesedfan
Copy link
Collaborator

Feel free to open a PR to update the document. And glad to see axios-cached-dns-resolve be added in ECOSYSTEM.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants