How to set a custom DNS resolver for axios
axios uses http.request in NodeJs which has an option (lookup) for a custom lookup function. Its default value is dns.lookup. However, we want to use another dns resolver which has the cache ability. How can I set lookup when using axios?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.