Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Essehemy <mohammedessehemy@gmail.com>2018-09-14 21:17:14 +0300
committerTobias Nießen <tniessen@tnie.de>2018-09-14 21:52:36 +0300
commit70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63 (patch)
tree91bddfd2d433b0dbe62b87fde0e3c335585839a1 /doc/api/dns.md
parenteaaee92d9b0be82d7f40b2abb67f30ce525d4bc4 (diff)
doc: fix typo in dns docs
PR-URL: https://github.com/nodejs/node/pull/22866 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 1d988d8b574..cbe0e8628d7 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.