Replies: 0 comments 5 replies
-
I believe what those two docs are saying is that the c-ares library has APIs that are capable of |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Affected URL(s)
https://nodejs.org/en/docs/meta/topics/dependencies/#c-ares, https://nodejs.org/api/dns.html#dns_dns_resolve_dns_resolve_and_dns_reverse
Description of the problem
Both of the documents I shared above refer to the usage of
dns.resolve
.The first document: https://nodejs.org/en/docs/meta/topics/dependencies/#c-ares says:
c-ares supports /etc/hosts
However the second document https://nodejs.org/api/dns.html#dns_dns_resolve_dns_resolve_and_dns_reverse says:
they do not use the configuration from /etc/hosts
Which one is right here?
Beta Was this translation helpful? Give feedback.
All reactions