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?
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?