Skip to content

Commit 7f0ed89

Browse files
rosaxxnyaddaleax
authored andcommitted
doc: add link to DNS definition
PR-URL: #32228 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 21ae792 commit 7f0ed89

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/api/dns.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
The `dns` module enables name resolution. For example, use it to look up IP
88
addresses of host names.
99

10-
Although named for the Domain Name System (DNS), it does not always use the DNS
11-
protocol for lookups. [`dns.lookup()`][] uses the operating system facilities to
12-
perform name resolution. It may not need to perform any network communication.
13-
Developers looking to perform name resolution in the same way that other
14-
applications on the same operating system behave should use [`dns.lookup()`][].
10+
Although named for the [Domain Name System (DNS)][], it does not always use the
11+
DNS protocol for lookups. [`dns.lookup()`][] uses the operating system
12+
facilities to perform name resolution. It may not need to perform any network
13+
communication. Developers looking to perform name resolution in the same way
14+
that other applications on the same operating system behave should use
15+
[`dns.lookup()`][].
1516

1617
```js
1718
const dns = require('dns');
@@ -1172,6 +1173,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
11721173
[`socket.connect()`]: net.html#net_socket_connect_options_connectlistener
11731174
[`util.promisify()`]: util.html#util_util_promisify_original
11741175
[DNS error codes]: #dns_error_codes
1176+
[Domain Name System (DNS)]: https://en.wikipedia.org/wiki/Domain_Name_System
11751177
[Implementation considerations section]: #dns_implementation_considerations
11761178
[RFC 8482]: https://tools.ietf.org/html/rfc8482
11771179
[RFC 5952]: https://tools.ietf.org/html/rfc5952#section-6

0 commit comments

Comments
 (0)