Skip to content
Permalink
Browse files

doc: fix typo in dns docs

PR-URL: #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>
  • Loading branch information...
MohammedEssehemy authored and tniessen committed Sep 14, 2018
1 parent eaaee92 commit 70c2ebc1a19ff5b98ae3c1dd4e3997ca87079e63
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 70c2ebc

Please sign in to comment.
You can’t perform that action at this time.