From 90afda82ab3c8654aa4a4d60cc84b1d4117d527f Mon Sep 17 00:00:00 2001 From: Mohammed Essehemy Date: Fri, 14 Sep 2018 20:17:14 +0200 Subject: [PATCH] doc: fix typo in dns docs --- doc/api/dns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 1d988d8b574e23..cbe0e8628d71f7 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -1078,7 +1078,7 @@ implications for some applications, see the [`UV_THREADPOOL_SIZE`][] documentation for more information. Note that various networking APIs will call `dns.lookup()` internally to resolve -host names. If that is an issue, consider resolving the hostname to and address +host names. If that is an issue, consider resolving the hostname to an address using `dns.resolve()` and using the address instead of a host name. Also, some networking APIs (such as [`socket.connect()`][] and [`dgram.createSocket()`][]) allow the default resolver, `dns.lookup()`, to be replaced.