Skip to content

Commit 8e8748c

Browse files
MohammedEssehemytargos
authored andcommitted
doc: fix typo in dns docs
PR-URL: #22866 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 7e4f29f commit 8e8748c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/dns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ implications for some applications, see the [`UV_THREADPOOL_SIZE`][]
10781078
documentation for more information.
10791079

10801080
Note that various networking APIs will call `dns.lookup()` internally to resolve
1081-
host names. If that is an issue, consider resolving the hostname to and address
1081+
host names. If that is an issue, consider resolving the hostname to an address
10821082
using `dns.resolve()` and using the address instead of a host name. Also, some
10831083
networking APIs (such as [`socket.connect()`][] and [`dgram.createSocket()`][])
10841084
allow the default resolver, `dns.lookup()`, to be replaced.

0 commit comments

Comments
 (0)