summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMohammed Essehemy <mohammedessehemy@gmail.com>2018-09-14 20:17:14 +0200
committerTobias Nießen <tniessen@tnie.de>2018-09-14 20:52:36 +0200
commit70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63 (patch)
tree91bddfd2d433b0dbe62b87fde0e3c335585839a1 /doc
parenteaaee92d9b0be82d7f40b2abb67f30ce525d4bc4 (diff)
downloadandroid-node-v8-70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63.tar.gz
android-node-v8-70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63.tar.bz2
android-node-v8-70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63.zip
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')
-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 1d988d8b57..cbe0e8628d 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.