Replies: 1 comment 4 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
-
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