Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorunknown <rosaxny@gmail.com>2020-03-12 18:52:18 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-27 17:53:01 +0300
commitcba9f2e7a2ff04619ceba1350418469049d79b1c (patch)
tree992b50716afc046074f9b6137bf6767ad19b11b7 /doc/api
parent113c04c524062b3dcd642e9f9f6784346924360e (diff)
doc: add link to DNS definition
PR-URL: https://github.com/nodejs/node/pull/32228 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/dns.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 6c7f29cfaf0..cea7db52f9b 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -7,11 +7,12 @@
The `dns` module enables name resolution. For example, use it to look up IP
addresses of host names.
-Although named for the Domain Name System (DNS), it does not always use the DNS
-protocol for lookups. [`dns.lookup()`][] uses the operating system facilities to
-perform name resolution. It may not need to perform any network communication.
-Developers looking to perform name resolution in the same way that other
-applications on the same operating system behave should use [`dns.lookup()`][].
+Although named for the [Domain Name System (DNS)][], it does not always use the
+DNS protocol for lookups. [`dns.lookup()`][] uses the operating system
+facilities to perform name resolution. It may not need to perform any network
+communication. Developers looking to perform name resolution in the same way
+that other applications on the same operating system behave should use
+[`dns.lookup()`][].
```js
const dns = require('dns');
@@ -1172,6 +1173,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
[`socket.connect()`]: net.html#net_socket_connect_options_connectlistener
[`util.promisify()`]: util.html#util_util_promisify_original
[DNS error codes]: #dns_error_codes
+[Domain Name System (DNS)]: https://en.wikipedia.org/wiki/Domain_Name_System
[Implementation considerations section]: #dns_implementation_considerations
[RFC 8482]: https://tools.ietf.org/html/rfc8482
[RFC 5952]: https://tools.ietf.org/html/rfc5952#section-6