Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8e8748c

Browse filesBrowse files
MohammedEssehemytargos
authored andcommitted
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>
1 parent 7e4f29f commit 8e8748c
Copy full SHA for 8e8748c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/dns.md‎

Copy file name to clipboardExpand all lines: doc/api/dns.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.